diff options
author | Pierre Equoy <pierre.equoy@canonical.com> | 2016-02-02 14:48:44 +0800 |
---|---|---|
committer | Pierre Equoy <pierre.equoy@canonical.com> | 2016-02-02 14:48:44 +0800 |
commit | bcf815b8b528fee14a8d50230992f083ecc68e68 (patch) | |
tree | 82c8f2273223203274b1b571c08b8022ca911478 /bin | |
parent | ac4574716960060246f12cf865add85dabca3041 (diff) |
plainbox-provider-checkbox: Change logging method when exception in pm_test
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 62d039b..558c464 100755 --- a/bin/pm_test +++ b/bin/pm_test @@ -155,7 +155,7 @@ class PowerManagementOperation(object): universal_newlines=True, shell=True)) except subprocess.CalledProcessError as e: logging.error('Error while running {0}:'.format(e.cmd)) - logging.error(e.output) + logging.exception(e.output) def summary(self): """ |