summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/vpn/_control.py
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2017-04-18 22:55:51 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2017-04-19 20:14:30 +0200
commit6227a8ed9c1184eb01eca4e23cc419473e5c5b51 (patch)
treee292a90c796d2b20cf194235c9cac78142ab5223 /src/leap/bitmask/vpn/_control.py
parent6756e922e9fe5e8f678d3ccaefadb27c23f400ae (diff)
[bug] return clearer errors when no cert found
Diffstat (limited to 'src/leap/bitmask/vpn/_control.py')
-rw-r--r--src/leap/bitmask/vpn/_control.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/leap/bitmask/vpn/_control.py b/src/leap/bitmask/vpn/_control.py
index a4909346..6d4db965 100644
--- a/src/leap/bitmask/vpn/_control.py
+++ b/src/leap/bitmask/vpn/_control.py
@@ -61,11 +61,6 @@ class VPNControl(object):
logger.info("Another vpn process is running. Will try to stop it.")
vpnproc.stop_if_already_running()
- # FIXME it would be good to document where the
- # errors here are catched, since we currently handle them
- # at the frontend layer. This *should* move to be handled entirely
- # in the backend.
-
try:
cmd = vpnproc.getCommand()
except Exception as e: