Skip to content

Commit

Permalink
Session read error handled on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
kanewi11 committed Nov 9, 2022
1 parent 857ced2 commit c7046b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions reactionbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ async def main():
except OperationalError:
logging.warning('Error in ' + app.name)
continue
except UserDeactivatedBan:
logging.warning('Session banned - ' + app.name)
continue
except Exception:
logging.warning(traceback.format_exc())
continue
Expand Down

0 comments on commit c7046b0

Please sign in to comment.