Skip to content

Commit 7658697

Browse files
authored
Minor change to improve problem detection.
1 parent 2e52af5 commit 7658697

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/MetaDetective/MetaDetective.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -837,13 +837,13 @@ def fetch_links_from_url(url: str) -> List[str]:
837837
return parser.links
838838

839839
except urllib.error.URLError as e:
840-
print(f"ERROR: Unable to open {url}. Reason: {e}")
840+
print(f"ERROR: Unable to open {url} Reason: {e}")
841841
return []
842842
except urllib.error.HTTPError as e:
843-
print(f"HTTP Error for URL {url}. Reason: {e.code} - {e.reason}")
843+
print(f"HTTP Error for URL {url} Reason: {e.code} - {e.reason}")
844844
return []
845845
except ValueError as e:
846-
print(f"ERROR: Unable to decode data from {url}. Reason: {e}")
846+
print(f"ERROR: Unable to decode data from {url} Reason: {e}")
847847
return []
848848

849849

0 commit comments

Comments
 (0)