Skip to content

Commit

Permalink
Show full data in socket closed payload
Browse files Browse the repository at this point in the history
  • Loading branch information
4Kaylum committed Jan 19, 2024
1 parent e8e57ae commit ea1497d
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 @@ -399,7 +399,7 @@ async def receive(
)
raise GatewayException.all_exceptions[data.data]()
elif data.type == aiohttp.WSMsgType.CLOSED:
log.info("[%s] Socket closed by Discord (%s)", self.shard_id, data.data)
log.info("[%s] Socket closed by Discord (%s)", self.shard_id, data)
raise GatewayException()

# Load data into the buffer if we need to
Expand Down

0 comments on commit ea1497d

Please sign in to comment.