1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-25 02:18:08 +00:00

Merge pull request #97 from exhuma/master

Crash Fix!
This commit is contained in:
Kenyon Ralph 2012-04-26 14:43:06 -07:00
commit 4e02c30363

View file

@ -113,7 +113,7 @@ class CmdHandler(object):
LOG.debug('Executing %r' % cmd)
output = Popen(cmd, stdout=PIPE).communicate()[0]
except OSError, exc:
LOG.exception()
LOG.exception("Unable to execute the command %r" % cmd)
self.put_fun("# ERROR: %s\n" % exc)
return
self.put_fun(output)