gateway.websocket: add debug logging for dispatch()

helps track down double-sends to session ids
This commit is contained in:
Luna Mendes 2018-11-19 15:43:29 -03:00
parent 48c7dc539a
commit e627d61fd0
1 changed files with 4 additions and 0 deletions

View File

@ -207,6 +207,10 @@ class GatewayWebsocket:
}
self.state.store[self.state.seq] = payload
log.debug('sending payload {!r} sid {}',
event.upper(), self.state.session_id)
await self.send(payload)
async def _make_guild_list(self) -> List[int]: