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/VpnProfile.java | |
parent | a51eda3d7de8387316814cadddc1f5fde3c8b3aa (diff) |
Always log Exception to log
Diffstat (limited to 'src/de/blinkt/openvpn/VpnProfile.java')
-rw-r--r-- | src/de/blinkt/openvpn/VpnProfile.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/de/blinkt/openvpn/VpnProfile.java b/src/de/blinkt/openvpn/VpnProfile.java index abf8d87c..f4389f0b 100644 --- a/src/de/blinkt/openvpn/VpnProfile.java +++ b/src/de/blinkt/openvpn/VpnProfile.java @@ -421,7 +421,7 @@ public class VpnProfile implements Serializable { PackageInfo packageinfo = c.getPackageManager().getPackageInfo(c.getPackageName(), 0); version = packageinfo.versionName; } catch (PackageManager.NameNotFoundException e) { - e.printStackTrace(); + VpnStatus.logException(e); } return String.format(Locale.US, "setenv IV_OPENVPN_GUI_VERSION \"%s %s\"\n", c.getPackageName(), version); @@ -543,7 +543,7 @@ public class VpnProfile implements Serializable { cfg.flush(); cfg.close(); } catch (IOException e) { - e.printStackTrace(); + VpnStatus.logException(e); } return intent; @@ -651,7 +651,7 @@ public class VpnProfile implements Serializable { try { Thread.sleep(3000); } catch (InterruptedException e1) { - e1.printStackTrace(); + VpnStatus.logException(e1); } return getKeyStoreCertificates(context, tries-1); } |