Add the name of the plugin when loading it fails
This commit is contained in:
parent
e5e63d4725
commit
1496876136
1 changed files with 2 additions and 2 deletions
|
@ -119,8 +119,8 @@ class PluginManager(object):
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
import traceback
|
import traceback
|
||||||
log.debug("Could not load plugin: \n%s", traceback.format_exc())
|
log.debug("Could not load plugin %s: \n%s", name, traceback.format_exc())
|
||||||
self.core.information("Could not load plugin: %s" % e, 'Error')
|
self.core.information("Could not load plugin %s: %s" % (name, e), 'Error')
|
||||||
finally:
|
finally:
|
||||||
if version_info[1] < 3 and imp.lock_held():
|
if version_info[1] < 3 and imp.lock_held():
|
||||||
imp.release_lock()
|
imp.release_lock()
|
||||||
|
|
Loading…
Reference in a new issue