for name, p in zip(plugin_names, plugin_modules):
try:
plugins.append( p.Plugin(self, name) )
- except:
+ except Exception:
print_msg(_("Error: cannot initialize plugin"),p)
traceback.print_exc(file=sys.stdout)
global plugins
+ results = []
+
for p in plugins:
if not p.is_enabled():
continue
try:
- f(*args)
- except:
+ r = f(*args)
+ except Exception:
print_error("Plugin error")
traceback.print_exc(file=sys.stdout)
-
- return
+
+ results.append((p.name,r))
+
+ return results