]> kaliko git repositories - mpd-sima.git/commitdiff
Better explicit error msg on 'Failed to load plugin'
authorkaliko <kaliko@azylum.org>
Sat, 2 May 2015 13:30:10 +0000 (15:30 +0200)
committerkaliko <kaliko@azylum.org>
Sat, 2 May 2015 13:30:10 +0000 (15:30 +0200)
sima/launch.py

index 4cc60e3be17993ad13536be4f5b92275816c9bc2..2f3149187f0b93f68cc15da198fe78acbe79494a 100644 (file)
@@ -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)