summaryrefslogtreecommitdiff
path: root/src/theming.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/theming.py')
-rw-r--r--src/theming.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theming.py b/src/theming.py
index 4a578ca7..8576a2a0 100644
--- a/src/theming.py
+++ b/src/theming.py
@@ -491,7 +491,7 @@ def reload_theme():
else:
loader = finder.find_module(theme_name, load_path)
if not loader:
- return
+ return 'Failed to load the theme %s' % theme_name
new_theme = loader.load_module()
except Exception as e:
log.error('Failed to load the theme %s', theme_name, exc_info=True)