Skip to content

Commit

Permalink
Exit gracefully on KeyboardInterrupt
Browse files Browse the repository at this point in the history
  • Loading branch information
davesteele committed Jul 16, 2024
1 parent ed838f9 commit c2bfc8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions comitup/comitup.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ def main():

try:
loop.run()
except KeyboardInterrupt:
pass
except Exception:
log.error("Terminal exception encountered")
raise
Expand Down

0 comments on commit c2bfc8e

Please sign in to comment.