mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-20 17:39:27 +01:00
Cleaned up error message when exceptions are raised on loading the plugin module.
This commit is contained in:
parent
b63f2170e8
commit
9825356e95
@ -67,9 +67,9 @@ def loadPlugin(name):
|
||||
you can always add it later.""")
|
||||
return None
|
||||
except Exception, e:
|
||||
myPrint("""We encountered a bit of trouble trying to load that plugin.
|
||||
myPrint("""We encountered a bit of trouble trying to load plugin %r.
|
||||
Python told us %s. We'll skip over it for now, you can always add it
|
||||
later.""" % e)
|
||||
later.""" % (name, repr(e)))
|
||||
return None
|
||||
|
||||
def describePlugin(module, showUsage):
|
||||
|
Loading…
Reference in New Issue
Block a user