diff --git a/proxy_scraper_checker/__main__.py b/proxy_scraper_checker/__main__.py index 84cf597..f6b7c4a 100644 --- a/proxy_scraper_checker/__main__.py +++ b/proxy_scraper_checker/__main__.py @@ -167,5 +167,7 @@ if __name__ == "__main__": _logs_listener.start() try: get_async_run()(main()) + except KeyboardInterrupt: + sys.exit(130) finally: _logs_listener.stop()