aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2019-06-20 23:00:45 -0400
committerRapptz <[email protected]>2019-06-20 23:00:45 -0400
commitb2f247bef341ecabfec2857c4e555ba7c4c84ca9 (patch)
treebb6411bfa4bdd47a63344e8533c0490ee6df32ee
parentRaise max encoder bitrate to 512kbps (diff)
downloaddiscord.py-b2f247bef341ecabfec2857c4e555ba7c4c84ca9.tar.xz
discord.py-b2f247bef341ecabfec2857c4e555ba7c4c84ca9.zip
Propagate exception in Client.run
Fix #2237
-rw-r--r--discord/client.py2
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):