diff --git a/app/src/main/java/com/wireguard/android/util/ExceptionLoggers.java b/app/src/main/java/com/wireguard/android/util/ExceptionLoggers.java index 199b1fbd..f9cadf5f 100644 --- a/app/src/main/java/com/wireguard/android/util/ExceptionLoggers.java +++ b/app/src/main/java/com/wireguard/android/util/ExceptionLoggers.java @@ -66,7 +66,7 @@ public enum ExceptionLoggers implements BiConsumer { message = null; } } else { - message = throwable.getMessage(); + message = innerThrowable.getMessage(); } return message != null ? message : innerThrowable.getClass().getSimpleName(); }