Skip to content

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.

Better error reporting when failing to fetch a URL from a configuration option.

smicalleff2416f51dfc3
diff --git a/sflib.py b/sflib.py
index 3be5fdff..a85689cf 100644
--- a/sflib.py
+++ b/sflib.py
@@ -81,7 +81,7 @@ class SpiderFoot:
return data
except BaseException as e:
if fatal:
- self.error("Unable to open option URL, " + val + ".")
+ self.error("Unable to open option URL, " + val + ": " + str(e))
else:
return None