Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions revup/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ def _main() -> None:
logging.error("Interrupted")
sys.exit(130)
finally:
if task.done() and not task.cancelled():
# Retrieve the task's exception so asyncio doesn't log it again with a
# traceback at shutdown.
task.exception()
loop.close()
except RevupUsageException as e:
logging.error(str(e))
Expand Down
Loading