aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/sosreport.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/sos/sosreport.py b/sos/sosreport.py
index a7d69a8b..42ff8938 100644
--- a/sos/sosreport.py
+++ b/sos/sosreport.py
@@ -1233,10 +1233,9 @@ class SoSReport(object):
else:
raise e
except Exception as e:
- import traceback
self.ui_log.error("")
self.ui_log.error(" Unexpected exception setting up archive:")
- traceback.print_exc(e)
+ traceback.print_exc()
self.ui_log.error(e)
self._exit(1)