aboutsummaryrefslogtreecommitdiff
path: root/modules/haveibeenpwned.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-10-20 20:51:29 +0100
committerGravatar jesopo2018-10-20 20:53:24 +0100
commit8ea6db9422301765ae350d5c271246bc5245b1bd (patch)
treec49c46808b5e7e2cdea0e45c385a3506730ee757 /modules/haveibeenpwned.py
parentTypo in modules/coins.py, 'nickanme' -> 'nickname' (diff)
Standardise "Failed to load results" errors!
Diffstat (limited to 'modules/haveibeenpwned.py')
-rw-r--r--modules/haveibeenpwned.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/haveibeenpwned.py b/modules/haveibeenpwned.py
index 3812dd58..326adf03 100644
--- a/modules/haveibeenpwned.py
+++ b/modules/haveibeenpwned.py
@@ -23,4 +23,4 @@ class Module(ModuleManager.BaseModule):
event["stdout"].write("It seems '%s' has not been pwned" % (
event["args"]))
else:
- event["stderr"].write("Failed to load results")
+ raise utils.EventsResultsError()