diff options
| author | Rapptz <[email protected]> | 2019-06-20 23:00:45 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-06-20 23:00:45 -0400 |
| commit | b2f247bef341ecabfec2857c4e555ba7c4c84ca9 (patch) | |
| tree | bb6411bfa4bdd47a63344e8533c0490ee6df32ee | |
| parent | Raise max encoder bitrate to 512kbps (diff) | |
| download | discord.py-b2f247bef341ecabfec2857c4e555ba7c4c84ca9.tar.xz discord.py-b2f247bef341ecabfec2857c4e555ba7c4c84ca9.zip | |
Propagate exception in Client.run
Fix #2237
| -rw-r--r-- | discord/client.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/client.py b/discord/client.py index b7a77f3d..3f32a511 100644 --- a/discord/client.py +++ b/discord/client.py @@ -594,6 +594,8 @@ class Client: log.info('Cleaning up tasks.') _cleanup_loop(loop) + return future.result() + # properties def is_closed(self): |