From f9863b05f3f6724235d5d88d2406c7e0b26ff705 Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Thu, 6 Dec 2012 00:05:17 +0000 Subject: Fix error message in Plugin base class --- sos/plugins/__init__.py | 9 ++++++--- 1 file 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""" -- cgit