API - update log message on weather data error
This commit is contained in:
parent
430ee4cd2f
commit
05d27ba85c
@ -40,5 +40,5 @@ class WeatherService:
|
||||
try:
|
||||
return self.weather_api.get_weather(point)
|
||||
except Exception as e:
|
||||
appLog.error(e)
|
||||
appLog.error(f'error when getting weather data: {e}')
|
||||
return None
|
||||
|
Loading…
Reference in New Issue
Block a user