Sending an invalid request or a valid request with an invalid city name will crash the application. weatherApp/app.js:30 temperature = weatherData.main.temp; ^ TypeError: Cannot read properties of undefined (reading 'temp')
Sending an invalid request or a valid request with an invalid city name will crash the application.