fix weather error msg
All checks were successful
Garfbot CI/CD Deployment / Deploy (push) Successful in 16s
All checks were successful
Garfbot CI/CD Deployment / Deploy (push) Successful in 16s
This commit is contained in:
@ -126,7 +126,7 @@ class WeatherAPI:
|
|||||||
return await response.json()
|
return await response.json()
|
||||||
except aiohttp.ClientError as e:
|
except aiohttp.ClientError as e:
|
||||||
logger.error(f"Error fetching weather data for '{location}': {e}")
|
logger.error(f"Error fetching weather data for '{location}': {e}")
|
||||||
ctx.send(f"`Error fetching weather data for '{location}': {e}`")
|
await ctx.send(f"`Error fetching weather data for '{location}': {e}`")
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def weather_embed(self, weather_data):
|
def weather_embed(self, weather_data):
|
||||||
|
Reference in New Issue
Block a user