aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/sosreport.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/sos/sosreport.py b/sos/sosreport.py
index 80633966..44be75a1 100644
--- a/sos/sosreport.py
+++ b/sos/sosreport.py
@@ -1065,9 +1065,13 @@ class SoSReport(object):
try:
self.plugpool = ThreadPoolExecutor(self.opts.threads)
# Pass the plugpool its own private copy of self.pluglist
- self.plugpool.map(self._collect_plugin, list(self.pluglist),
- chunksize=1)
+ results = self.plugpool.map(self._collect_plugin,
+ list(self.pluglist), chunksize=1)
self.plugpool.shutdown(wait=True)
+ for res in results:
+ if not res:
+ self.soslog.debug("Unexpected plugin task result: %s" %
+ res)
self.ui_log.info("")
except KeyboardInterrupt:
# We may not be at a newline when the user issues Ctrl-C