API - update log message on weather data error

This commit is contained in:
Sam 2023-03-08 12:08:44 +01:00
parent 430ee4cd2f
commit 05d27ba85c

View File

@ -40,5 +40,5 @@ class WeatherService:
try: try:
return self.weather_api.get_weather(point) return self.weather_api.get_weather(point)
except Exception as e: except Exception as e:
appLog.error(e) appLog.error(f'error when getting weather data: {e}')
return None return None