test smart garf and fix weather error log
This commit is contained in:
@@ -126,7 +126,7 @@ class WeatherAPI:
|
||||
response.raise_for_status()
|
||||
return await response.json()
|
||||
except aiohttp.ClientError as e:
|
||||
logger.error(f"Error fetching weather data for '{location}'")
|
||||
logger.error(f"Error fetching weather data for '{location}' - {e}")
|
||||
await ctx.send(f"`Error fetching weather data for '{location}'`")
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user