diff --git a/deluge/core/eventmanager.py b/deluge/core/eventmanager.py index c66349174..cc2b1fe76 100644 --- a/deluge/core/eventmanager.py +++ b/deluge/core/eventmanager.py @@ -55,8 +55,8 @@ class EventManager(component.Component): #log.debug("Running handler %s for event %s with args: %s", event.name, handler, event.args) try: handler(*event.args) - except: - log.error("Event handler %s failed in %s", event.name, handler) + except Exception, e: + log.error("Event handler %s failed in %s with exception %s", event.name, handler, e) def register_event_handler(self, event, handler): """