From 92c6b9c09dd2a5d93b1211d850c30165ac94b3af Mon Sep 17 00:00:00 2001 From: Philip Ridout Date: Mon, 18 Sep 2017 21:08:28 +0100 Subject: [PATCH] Revert some requested changes --- openlp/core/common/registry.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openlp/core/common/registry.py b/openlp/core/common/registry.py index 33afe6f21..1894ac458 100644 --- a/openlp/core/common/registry.py +++ b/openlp/core/common/registry.py @@ -138,8 +138,11 @@ class Registry(object): if result: results.append(result) except TypeError: + # Who has called me can help in debugging + trace_error_handler(log) log.exception('Exception for function {function}'.format(function=function)) else: + trace_error_handler(log) log.exception('Event {event} called but not registered'.format(event=event)) return results