Cleaned up error message when exceptions are raised on loading the plugin module.

This commit is contained in:
Jeremy Fincher 2003-10-28 14:23:12 +00:00
parent b63f2170e8
commit 9825356e95
1 changed files with 2 additions and 2 deletions

View File

@ -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):