diff options
author | Arne Schwabe <arne@rfc2549.org> | 2013-12-15 16:42:28 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2013-12-15 16:42:28 +0100 |
commit | 1e710399e226b4b18ea29e20c32c1aa7d5293dd4 (patch) | |
tree | 09788ce775856dfff2315efa4990fc2788b5af9f /src/de/blinkt/openvpn/core/ProfileManager.java | |
parent | a51eda3d7de8387316814cadddc1f5fde3c8b3aa (diff) |
Always log Exception to log
Diffstat (limited to 'src/de/blinkt/openvpn/core/ProfileManager.java')
-rw-r--r-- | src/de/blinkt/openvpn/core/ProfileManager.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/de/blinkt/openvpn/core/ProfileManager.java b/src/de/blinkt/openvpn/core/ProfileManager.java index 27b64b90..a1dd8da5 100644 --- a/src/de/blinkt/openvpn/core/ProfileManager.java +++ b/src/de/blinkt/openvpn/core/ProfileManager.java @@ -145,13 +145,11 @@ public class ProfileManager { vpnfile.close(); } catch (FileNotFoundException e) { - e.printStackTrace(); + VpnStatus.logException("saving VPN profile", e); throw new RuntimeException(e); } catch (IOException e) { - - e.printStackTrace(); + VpnStatus.logException("saving VPN profile", e); throw new RuntimeException(e); - } } @@ -186,7 +184,7 @@ public class ProfileManager { exp=e; } if(exp!=null) { - exp.printStackTrace(); + VpnStatus.logException("Loading VPN List",exp); } } } |