From 113157e3ae7b1fd57654542030c3de9c03c4261a Mon Sep 17 00:00:00 2001 From: kaliko Date: Sat, 2 May 2015 15:30:10 +0200 Subject: [PATCH] Better explicit error msg on 'Failed to load plugin' --- sima/launch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sima/launch.py b/sima/launch.py index 4cc60e3..2f31491 100644 --- a/sima/launch.py +++ b/sima/launch.py @@ -61,7 +61,7 @@ def load_plugins(sima, source): try: mod_obj = __import__(module, fromlist=[plugin]) except ImportError as err: - logger.error('Failed to load plugin\'s module: ' + + logger.error('Failed to load "{}" plugin\'s module: '.format(plugin) + '{0} ({1})'.format(module, err)) sima.shutdown() sys.exit(1) -- 2.39.5