diff options
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); } |