diff options
-rw-r--r-- | sos/sosreport.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sos/sosreport.py b/sos/sosreport.py index 52bfe8b0..6b5220d2 100644 --- a/sos/sosreport.py +++ b/sos/sosreport.py @@ -978,6 +978,13 @@ class SoSReport(object): plug.collect() except KeyboardInterrupt: raise + except OSError as e: + if e.errno in fatal_fs_errors: + self.ui_log.error("") + self.ui_log.error(" %s while collecting plugin data" + % e.strerror) + self.ui_log.error(" %s" % e.filename) + self._exit(1) except: if self.raise_plugins: raise |