From 3d74947d84a0a40ecd6471333b560b89487109f7 Mon Sep 17 00:00:00 2001 From: Devansh Batham Date: Fri, 25 Aug 2023 00:09:25 +0530 Subject: [PATCH] Update client.py --- paramspider/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paramspider/client.py b/paramspider/client.py index c7046f0..4533040 100644 --- a/paramspider/client.py +++ b/paramspider/client.py @@ -57,7 +57,7 @@ def fetch_url_content(url): time.sleep(5) except KeyboardInterrupt: logging.warning("Keyboard Interrupt re ceived. Exiting gracefully...") - return None + sys.exit() logging.error(f"Failed to fetch URL {url} after {MAX_RETRIES} retries.") - return None \ No newline at end of file + sys.exit()