summaryrefslogtreecommitdiff
path: root/bin
diff options
authorSylvain Pineau <sylvain.pineau@canonical.com>2017-07-20 15:31:04 +0200
committerSylvain Pineau <sylvain.pineau@canonical.com>2017-07-20 15:31:04 +0200
commitf078d2abadc25d78f266a8ce6558485576d5e9d9 (patch)
tree364008892616eb1f519393bddf50cdb828f1f996 /bin
parent58c3a2a0bb87aca226e57440d76e61d42241a253 (diff)
Stop logging tracebacks if fwts_test exits with errors (e.g HIGH FAILURES)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pm_test2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pm_test b/bin/pm_test
index ea75ba88..5fa69235 100755
--- a/bin/pm_test
+++ b/bin/pm_test
@@ -159,7 +159,7 @@ class PowerManagementOperation(object):
universal_newlines=True, shell=True))
except subprocess.CalledProcessError as e:
logging.error('Error while running {0}:'.format(e.cmd))
- logging.exception(e.output)
+ logging.error(e.output)
def summary(self):
"""