Skip to content

Commit

Permalink
Show error when we cannot reconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
4Kaylum committed Jan 19, 2024
1 parent 1cb6743 commit 687abad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion novus/api/gateway/gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ async def messages(
continue
except GatewayException as e:
if not e.reconnect:
log.info("[%s] Cannot reconnect.", self.shard_id)
log.info("[%s] Cannot reconnect.", self.shard_id, exc_info=e)
raise SystemExit()
t = asyncio.create_task(self.reconnect())
self.running_tasks.add(t)
Expand Down

0 comments on commit 687abad

Please sign in to comment.