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/lastfm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/lastfm.py') diff --git a/modules/lastfm.py b/modules/lastfm.py index e67c6af1..73153a39 100644 --- a/modules/lastfm.py +++ b/modules/lastfm.py @@ -84,4 +84,4 @@ class Module(ModuleManager.BaseModule): "The user '%s' has never scrobbled before" % ( shown_username)) else: - event["stderr"].write("Failed to load results") + raise utils.EventsResultsError() -- cgit v1.3.1-10-gc9f91