summaryrefslogtreecommitdiff
path: root/src/leap/bitmask
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2017-03-31 18:53:07 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2017-03-31 18:53:07 +0200
commita6037f0855f1041c74ee9114bff08cfa1585e7a2 (patch)
tree67e1f367bd12b1bbaf75a42c9cb54758fa5fc7ac /src/leap/bitmask
parent922389008b79e47113eb961397a8be1f80966723 (diff)
[bug] fix usage of exception with twisted logger
Diffstat (limited to 'src/leap/bitmask')
-rw-r--r--src/leap/bitmask/vpn/privilege.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/bitmask/vpn/privilege.py b/src/leap/bitmask/vpn/privilege.py
index b30c5fc7..b49f165c 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):