naveenkumarr05 / weather-app

0 stars 0 forks source link

Error handling #22

Open Oksana13 opened 2 years ago

Oksana13 commented 2 years ago

You are not handling this error anywhere

https://github.com/naveenkumarr05/weather-app/blob/89bbedf3d4fd693a7f39c6db777a1ad077478127/src/store/weather/weatherForecast.js#L56

naveenkumarr05 commented 2 years ago

got it but if API has no information then it would go to else it will throw error. In the else part we can add any error messages