8000 pass not needed due to debug statement · devoxin/Lavalink.py@f37dadd · GitHub
[go: up one dir, main page]

Skip to content

Commit f37dadd

Browse files
committed
pass not needed due to debug statement
1 parent 2255985 commit f37dadd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lavalink/client.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -470,8 +470,7 @@ async def _hook_wrapper(hook, event):
470470
try:
471471
await hook(event)
472472
except asyncio.CancelledError:
473-
_log.debug('Event hook \'%s\' was cancelled.', hook.__name__)
474-
pass
473+
_log.debug('Event hook \'%s\' dispatch was cancelled.', hook.__name__)
475474
except: # noqa: E722 pylint: disable=bare-except
476475
_log.exception('Event hook \'%s\' encountered an exception!', hook.__name__)
477476

0 commit comments

Comments
 (0)
0