- πΊπΈUnited States generalredneck
Totally get that this one is first... will add credit for your report in the duplicate where a patch was added. in π getTimezoneGeo function on WeatherService does not handle 4xx or 5xx responses Fixed
When third part API returns responce with status not equel 2xx modul is crashes.
For example ws.geonames.org is not avalible, so it returns error which is not handled.
Install module, activate, adjust. Open page where plugin situated. Check logs.
1. Add handlers of 4xx and 5xx statuses to WeatherService class.
2. Add warning about free and non-free API-keys for openweather API on plugin config form.
2. Remove request to ws.geonames.org becouse it is not avalible. Get another one API that is avalible and has simmilar endpoints.
Closed: duplicate
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Totally get that this one is first... will add credit for your report in the duplicate where a patch was added. in π getTimezoneGeo function on WeatherService does not handle 4xx or 5xx responses Fixed