summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/bitmask/vpn/service.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/bitmask/vpn/service.py b/src/leap/bitmask/vpn/service.py
index ccdbc11..054845f 100644
--- a/src/leap/bitmask/vpn/service.py
+++ b/src/leap/bitmask/vpn/service.py
@@ -124,7 +124,7 @@ class VPNService(HookableService):
vpn_ok = self._tunnel.stop()
if not vpn_ok:
- self.log.error("VPN: error stopping")
+ raise Exception("Error stopping VPN")
return {'result': 'vpn stopped'}