diff --git a/ds/__main__.py b/ds/__main__.py index dd7a684..9ec5c5c 100644 --- a/ds/__main__.py +++ b/ds/__main__.py @@ -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.") diff --git a/manifest.json b/manifest.json index 40edea8..c1a1b88 100644 --- a/manifest.json +++ b/manifest.json @@ -1,3 +1,3 @@ { - "version": "0.3.4" + "version": "0.3.5" } \ No newline at end of file