diff options
-rw-r--r-- | sos/plugins/__init__.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py index 823b5aca..3378712f 100644 --- a/sos/plugins/__init__.py +++ b/sos/plugins/__init__.py @@ -569,13 +569,13 @@ class Plugin(object): 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, + self.soslog.debug("collecting output of '%s'" % prog) + try: + self.collectOutputNow(prog, suggest_filename, root_symlink, timeout) -# except Exception, e: -# self.soslog.debug("error collecting output of '%s' (%s)" -# % (prog, e)) + except Exception, 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""" |