mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
Added slightly better handling of ImportError in do001.
This commit is contained in:
parent
d4c7db7a93
commit
3e1521fb8b
@ -210,6 +210,8 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg):
|
||||
try:
|
||||
m = loadPluginModule(name)
|
||||
loadPluginClass(irc, m)
|
||||
except ImportError, e:
|
||||
log.warning('Failed to load %s: %s', name, e)
|
||||
except Exception, e:
|
||||
log.exception('Failed to load %s:', name)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user