summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipalib/cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/cli.py b/ipalib/cli.py
index 4949a9b9f..378bc5715 100644
--- a/ipalib/cli.py
+++ b/ipalib/cli.py
@@ -675,7 +675,7 @@ def run(api):
api.log.info('operation aborted')
except PublicError, e:
error = e
- except Exception, e:
+ except StandardError, e:
api.log.exception('%s: %s', e.__class__.__name__, str(e))
error = InternalError()
if error is not None: