Skip to content

Commit

Permalink
return value in exception path set
Browse files Browse the repository at this point in the history
  • Loading branch information
Barry1 committed Aug 16, 2024
1 parent 7469ef7 commit b257d4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/valuefragments/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ def getselectedhreflinks(
thesourcehtml: requests.Response = requests.get(url=thebaseurl, timeout=thetimeout)
except requests.exceptions.Timeout:
thelogger.error("timeout exception while fetching %s", thebaseurl)
return []
# Connect Timeout 5s, 10s for transmission
thelogger.debug(
"Request to %s with Status %i and Reason %s",
Expand Down

0 comments on commit b257d4e

Please sign in to comment.