Skip to content

Commit

Permalink
Update client.py
Browse files Browse the repository at this point in the history
  • Loading branch information
devanshbatham committed Aug 24, 2023
1 parent 46091ea commit 3d74947
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions paramspider/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
sys.exit()

0 comments on commit 3d74947

Please sign in to comment.