Try harder to catch RunTimeError.
authorCMDR furrycat <elite@furrycat.net>
Thu, 13 Apr 2017 09:51:21 +0000 (10:51 +0100)
committerCMDR furrycat <elite@furrycat.net>
Thu, 13 Apr 2017 09:52:09 +0000 (10:52 +0100)
app.py

diff --git a/app.py b/app.py
index 0c89ff9..035b5f3 100644 (file)
--- a/app.py
+++ b/app.py
@@ -354,5 +354,5 @@ async def on_member_update(before, after):
 
 try:
   client.run(token)
-except RunTimeError:
+except RuntimeError:
   sys.exit(1)