diff options
| author | 2018-10-20 20:51:29 +0100 | |
|---|---|---|
| committer | 2018-10-20 20:53:24 +0100 | |
| commit | 8ea6db9422301765ae350d5c271246bc5245b1bd (patch) | |
| tree | c49c46808b5e7e2cdea0e45c385a3506730ee757 /modules/books.py | |
| parent | Typo in modules/coins.py, 'nickanme' -> 'nickname' (diff) | |
Standardise "Failed to load results" errors!
Diffstat (limited to 'modules/books.py')
| -rw-r--r-- | modules/books.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/books.py b/modules/books.py index 6555c156..d10cdd32 100644 --- a/modules/books.py +++ b/modules/books.py @@ -34,7 +34,7 @@ class Module(ModuleManager.BaseModule): else: event["stderr"].write("Unable to find book") else: - event["stderr"].write("Failed to load results") + raise utils.EventsResultsError() @utils.hook("received.command.isbn", min_args=1) def isbn(self, event): |
