We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5008b5 commit f51f6caCopy full SHA for f51f6ca
examples/gateway/ping_pong.py
@@ -64,7 +64,7 @@ async def main():
64
await shard_manager.connect()
65
66
# Raise a error and exit whenever a critical error occurs
67
- error = await shard_manager.dispatcher.wait_for(lambda: True, "critical")
+ (error,) = await shard_manager.dispatcher.wait_for(lambda: True, "critical")
68
69
raise cast(Exception, error)
70
0 commit comments