summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/java
diff options
context:
space:
mode:
authorZachary Wander <zachary.wander@gmail.com>2018-12-10 19:38:21 -0500
committerJason A. Donenfeld <Jason@zx2c4.com>2018-12-11 02:21:37 +0100
commit15aa724b1ddae80c9df4fa09cd770841747d7787 (patch)
treede84c496770a651f4de71303896654ca73bd1c7f /app/src/main/java
parent22422c5770dade3f2912186ad8293c2dc4859c10 (diff)
Unwrap the correct exception
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/com/wireguard/android/util/ExceptionLoggers.java2
1 files changed, 1 insertions, 1 deletions
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<Object, Throwable> {
message = null;
}
} else {
- message = throwable.getMessage();
+ message = innerThrowable.getMessage();
}
return message != null ? message : innerThrowable.getClass().getSimpleName();
}