aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/sosreport.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/sos/sosreport.py b/sos/sosreport.py
index 9b068a90..9da1ff63 100644
--- a/sos/sosreport.py
+++ b/sos/sosreport.py
@@ -1126,6 +1126,13 @@ class SoSReport(object):
for plugname, plug in self.loaded_plugins:
try:
plug.postproc()
+ except OSError as e:
+ if e.errno in fatal_fs_errors:
+ self.ui_log.error("")
+ self.ui_log.error(" %s while post-processing plugin data"
+ % e.strerror)
+ self.ui_log.error(" %s" % e.filename)
+ self._exit(1)
except:
if self.raise_plugins:
raise