Skip to content

Commit 0c72478

Browse files
Update space.py
1 parent 858cb58 commit 0c72478

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bot/exts/fun/space.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ async def fetch_from_nasa(
137137
error=f"NASA API returned status {status}.",
138138
)
139139

140-
except asyncio.TimeoutError:
140+
except TimeoutError:
141141
logger.warning("NASA API request timed out for %s", url)
142142
return NasaResult(ok=False, status=None, data=None, error="NASA API request timed out.")
143143
except aiohttp.ClientError as e:

0 commit comments

Comments
 (0)