changeset 5257:c85a99b5d78f

plugin importer: more useful exception msg
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 07 Nov 2009 18:33:53 +0100
parents e2dcd2e9b73a
children d4331ca5c218
files MoinMoin/wikiutil.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/wikiutil.py	Sat Nov 07 18:29:36 2009 +0100
+++ b/MoinMoin/wikiutil.py	Sat Nov 07 18:33:53 2009 +0100
@@ -1165,7 +1165,7 @@
         except PluginMissingError:
             pass
     else:
-        raise PluginMissingError("Plugin not found!")
+        raise PluginMissingError("Plugin not found! (%r %r %r)" % (type, name, what))
     return plugin