From c1ba1f409cd1566cb11d0c26d610ffdff4d2e24c Mon Sep 17 00:00:00 2001 From: Zachary Wander Date: Mon, 10 Dec 2018 19:38:21 -0500 Subject: [PATCH] Unwrap the correct exception Signed-off-by: Jason A. Donenfeld --- .../main/java/com/wireguard/android/util/ExceptionLoggers.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }