diff --git a/ipalib/backend.py b/ipalib/backend.py index 7c964b799..2436ce052 100644 --- a/ipalib/backend.py +++ b/ipalib/backend.py @@ -123,6 +123,11 @@ class Executioner(Backend): 'non-public: %s: %s', e.__class__.__name__, str(e) ) error = InternalError() + except Exception, e: + self.exception( + 'unhandled exception: %s: %s', e.__class__.__name__, str(e) + ) + error = InternalError() destroy_context() if error is None: return result