summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/services
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2014-09-03 14:50:46 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2014-09-03 15:00:51 -0300
commitde2f0e13a5a48e86b75eb54a56fe9f88b720193f (patch)
treedb7a0ddedf3bf7448d4206e15c024fa9f593f41d /src/leap/bitmask/services
parentd65ecea2d6a943d6805284390e0361ae0ff00718 (diff)
Better logging output for missing files and error.
Diffstat (limited to 'src/leap/bitmask/services')
-rw-r--r--src/leap/bitmask/services/eip/vpnprocess.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/leap/bitmask/services/eip/vpnprocess.py b/src/leap/bitmask/services/eip/vpnprocess.py
index 40aad257..d41064ec 100644
--- a/src/leap/bitmask/services/eip/vpnprocess.py
+++ b/src/leap/bitmask/services/eip/vpnprocess.py
@@ -214,9 +214,10 @@ class VPN(object):
# and abstract us away from anything else.
try:
cmd = vpnproc.getCommand()
- except Exception:
- logger.error("Error while getting vpn command...")
+ except Exception as e:
+ logger.error("Error while getting vpn command... {0!r}".format(e))
raise
+
env = os.environ
for key, val in vpnproc.vpn_env.items():
env[key] = val