mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-09 11:42:35 +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.""")
|
you can always add it later.""")
|
||||||
return None
|
return None
|
||||||
except Exception, e:
|
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
|
Python told us %s. We'll skip over it for now, you can always add it
|
||||||
later.""" % e)
|
later.""" % (name, repr(e)))
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def describePlugin(module, showUsage):
|
def describePlugin(module, showUsage):
|
||||||
|
Loading…
Reference in New Issue
Block a user