Skip to content

Commit 3d74947

Browse files
Update client.py
1 parent 46091ea commit 3d74947

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

paramspider/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def fetch_url_content(url):
5757
time.sleep(5)
5858
except KeyboardInterrupt:
5959
logging.warning("Keyboard Interrupt re ceived. Exiting gracefully...")
60-
return None
60+
sys.exit()
6161

6262
logging.error(f"Failed to fetch URL {url} after {MAX_RETRIES} retries.")
63-
return None
63+
sys.exit()

0 commit comments

Comments
 (0)