From f078d2abadc25d78f266a8ce6558485576d5e9d9 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Thu, 20 Jul 2017 15:31:04 +0200 Subject: Stop logging tracebacks if fwts_test exits with errors (e.g HIGH FAILURES) --- bin/pm_test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): """ -- cgit v1.2.3