summaryrefslogtreecommitdiffstats
path: root/ipalib/backend.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/backend.py')
-rw-r--r--ipalib/backend.py5
1 files changed, 5 insertions, 0 deletions
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