Skip to content

Commit

Permalink
Added a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberKiller authored Oct 16, 2023
1 parent 7605ce3 commit c95a210
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions redbot/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ async def run_bot(red: Red, cli_flags: Namespace) -> None:
)
sys.exit(ExitCodes.CONFIGURATION_ERROR)
except Exception as e:
# Catch all other exceptions here to prevent shutdown hangs
log.critical(e)
sys.exit(ExitCodes.CRITICAL)

Expand Down

0 comments on commit c95a210

Please sign in to comment.