diff options
-rw-r--r-- | sos/sosreport.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sos/sosreport.py b/sos/sosreport.py index 31ef0fa8..c3b2f421 100644 --- a/sos/sosreport.py +++ b/sos/sosreport.py @@ -910,9 +910,10 @@ class SoSReport(object): self._make_archive_paths() except Exception as e: import traceback + self.ui_log.error(" Unexpected exception setting up archive:") traceback.print_exc(e) - self.ui_log.info(e) - self._exit(0) + self.ui_log.error(e) + self._exit(1) def setup(self): self.ui_log.info(_(" Setting up plugins ...")) |