diff options
author | Sylvain Pineau <sylvain.pineau@canonical.com> | 2017-07-20 15:31:04 +0200 |
---|---|---|
committer | Sylvain Pineau <sylvain.pineau@canonical.com> | 2017-07-20 15:31:04 +0200 |
commit | f078d2abadc25d78f266a8ce6558485576d5e9d9 (patch) | |
tree | 364008892616eb1f519393bddf50cdb828f1f996 /bin | |
parent | 58c3a2a0bb87aca226e57440d76e61d42241a253 (diff) |
Stop logging tracebacks if fwts_test exits with errors (e.g HIGH FAILURES)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pm_test | 2 |
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): """ |