Revert some requested changes

This commit is contained in:
Philip Ridout 2017-09-18 21:08:28 +01:00
parent 0ee8ebb1c2
commit 92c6b9c09d

View File

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