Browse Source

Downgrade unknown event logging to DEBUG rather than WARNING

It's too noisy
pull/2543/head
Rapptz 5 years ago
parent
commit
b9e6ed28a4
  1. 2
      discord/gateway.py

2
discord/gateway.py

@ -420,7 +420,7 @@ class DiscordWebSocket(websockets.client.WebSocketClientProtocol):
try: try:
func = self._discord_parsers[event] func = self._discord_parsers[event]
except KeyError: except KeyError:
log.warning('Unknown event %s.', event) log.debug('Unknown event %s.', event)
else: else:
func(data) func(data)

Loading…
Cancel
Save