Преглед на файлове

Merge branch 'master' of https://github.com/Psiphon-Labs/psiphon-tunnel-core

Rod Hynes преди 5 години
родител
ревизия
6fe1abf05d
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      MobileLibrary/Android/PsiphonTunnel/PsiphonTunnel.java

+ 1 - 1
MobileLibrary/Android/PsiphonTunnel/PsiphonTunnel.java

@@ -1243,7 +1243,7 @@ public class PsiphonTunnel {
         ConnectivityManager connectivityManager =
                 (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);
         if (connectivityManager == null) {
-            throw new Exception(errorMessage, "Couldn't get ConnectivityManager system service");
+            throw new Exception(errorMessage, new Throwable("couldn't get ConnectivityManager system service"));
         }
         if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
             NetworkRequest networkRequest = new NetworkRequest.Builder().build();