summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/vpn/service.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask/vpn/service.py')
-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 ccdbc11f..054845f7 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'}