weather: fix error handling (caused breakage)