aboutsummaryrefslogtreecommitdiffstats
path: root/sos/archive.py
diff options
context:
space:
mode:
Diffstat (limited to 'sos/archive.py')
-rw-r--r--sos/archive.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sos/archive.py b/sos/archive.py
index 60636251..0e019bfd 100644
--- a/sos/archive.py
+++ b/sos/archive.py
@@ -406,9 +406,9 @@ class TarFileArchive(FileCacheArchive):
close_fds=True)
stdout, stderr = p.communicate()
if stdout:
- self.log_info(stdout.decode('utf-8'))
+ self.log_info(stdout.decode('utf-8', 'ignore'))
if stderr:
- self.log_error(stderr.decode('utf-8'))
+ self.log_error(stderr.decode('utf-8', 'ignore'))
self._suffix += suffix
return self.name()
except Exception as e: