fix: handle KeyboardInterrupt

This commit is contained in:
monosans
2024-11-22 13:50:58 +03:00
parent ebfcc92df9
commit 66d1f72fe6
+2
View File
@@ -167,5 +167,7 @@ if __name__ == "__main__":
_logs_listener.start()
try:
get_async_run()(main())
except KeyboardInterrupt:
sys.exit(130)
finally:
_logs_listener.stop()