Skip to content
Merged
Show file tree
Hide file tree
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
9 changes: 4 additions & 5 deletions ds/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@ async def main() -> None:
if __name__ == "__main__":
try:
uvloop.run(main())
except (KeyboardInterrupt, SystemExit):
LOG.warning("[MAIN] - Manual stop signal received.")
sys.exit(0)
except KeyboardInterrupt:
LOG.warning("[APP] Shutdown signal received.")
except Exception as err:
LOG.exception(f"[MAIN_ERROR]: {err}")
LOG.exception(f"[APP] Unhandled exception: {err}")
sys.exit(1)
finally:
LOG.warning("[MAIN] - Stopped...")
LOG.warning("[APP] Stopped.")
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "0.3.4"
"version": "0.3.5"
}
Loading