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()