From 8ea6db9422301765ae350d5c271246bc5245b1bd Mon Sep 17 00:00:00 2001 From: jesopo Date: Sat, 20 Oct 2018 20:51:29 +0100 Subject: Standardise "Failed to load results" errors! --- modules/urbandictionary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/urbandictionary.py') diff --git a/modules/urbandictionary.py b/modules/urbandictionary.py index 314b492f..b63683c2 100644 --- a/modules/urbandictionary.py +++ b/modules/urbandictionary.py @@ -32,4 +32,4 @@ class Module(ModuleManager.BaseModule): else: event["stderr"].write("No results found") else: - event["stderr"].write("Failed to load results") + raise utils.EventsResultsError() -- cgit v1.3.1-10-gc9f91