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/trakt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/trakt.py') diff --git a/modules/trakt.py b/modules/trakt.py index 8adc3cc4..12b9c25d 100644 --- a/modules/trakt.py +++ b/modules/trakt.py @@ -54,4 +54,4 @@ class Module(ModuleManager.BaseModule): event["stderr"].write( "%s is not watching anything" % username) else: - event["stderr"].write("Failed to load results") + raise utils.EventsResultsError() -- cgit v1.3.1-10-gc9f91