aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2012-12-06 00:05:17 +0000
committerBryn M. Reeves <bmr@redhat.com>2012-12-06 00:05:17 +0000
commitf9863b05f3f6724235d5d88d2406c7e0b26ff705 (patch)
tree9fa6739b829837857967f525b9fc7a917cebaae7
parentb643e4a85ecc196aba9b1aee2c61b72e9b0a45b6 (diff)
downloadsos-f9863b05f3f6724235d5d88d2406c7e0b26ff705.tar.gz
Fix error message in Plugin base class
-rw-r--r--sos/plugins/__init__.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py
index 4341ddaa..b273358d 100644
--- a/sos/plugins/__init__.py
+++ b/sos/plugins/__init__.py
@@ -569,15 +569,18 @@ class Plugin(object):
self.archive.add_string(string,
os.path.join('sos_strings', self.name(), file_name))
except Exception, e:
- self.soslog.debug("could not create %s, traceback follows: %s" % (file_name, e))
+ self.soslog.debug("could not create %s, traceback follows: %s"
+ % (file_name, e))
for progs in izip(self.collectProgs):
prog, suggest_filename, root_symlink, timeout = progs[0]
# self.soslog.debug("collecting output of '%s'" % prog)
try:
- self.collectOutputNow(prog, suggest_filename, root_symlink, timeout)
+ self.collectOutputNow(prog, suggest_filename,
+ root_symlink, timeout)
except Exception, e:
- self.soslog.debug("error collection output of '%s', traceback follows: %s" % (prog, e))
+ self.soslog.debug("error collecting output of '%s' (%s)"
+ % (prog, e))
def exit_please(self):
""" This function tells the plugin that it should exit ASAP"""