Skip to content

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

Better error reporting.

smicallef01d558378eeb
diff --git a/modules/sfp_pwned.py b/modules/sfp_pwned.py
index 72d1216e..b0fc3dba 100644
--- a/modules/sfp_pwned.py
+++ b/modules/sfp_pwned.py
@@ -75,7 +75,7 @@ class sfp_pwned(SpiderFootPlugin):
try:
ret = json.loads(res['content'])
except Exception as e:
- self.sf.error("Error processing JSON response from HaveIBeenPwned?.", False)
+ self.sf.error("Error processing JSON response from HaveIBeenPwned?: " + str(e), False)
return None
return ret