Skip to content

Commit

Permalink
Ignore all exceptions getting driver.current_url
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostwords committed Jan 7, 2025
1 parent a13f5e2 commit b0ba733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,7 @@ def log_snitch_map_changes(self, old_snitches, new_snitches):
def get_current_url(self):
try:
return self.driver.current_url
except TimeoutException:
except Exception:
return None

def crawl(self):
Expand Down

0 comments on commit b0ba733

Please sign in to comment.