From a6037f0855f1041c74ee9114bff08cfa1585e7a2 Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Fri, 31 Mar 2017 18:53:07 +0200 Subject: [bug] fix usage of exception with twisted logger --- src/leap/bitmask/vpn/privilege.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/leap/bitmask/vpn/privilege.py b/src/leap/bitmask/vpn/privilege.py index b30c5fc..b49f165 100644 --- a/src/leap/bitmask/vpn/privilege.py +++ b/src/leap/bitmask/vpn/privilege.py @@ -182,7 +182,7 @@ class LinuxPolicyChecker(PolicyChecker): subprocess.call(["python -m leap.bitmask.util.polkit_agent"], shell=True, env=env) except Exception as exc: - logger.exception(exc) + logger.error(str(exc)) @classmethod def is_up(self): -- cgit v1.2.3