diff options
author | Zachary Wander <zachary.wander@gmail.com> | 2018-12-10 19:38:21 -0500 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-12-11 02:21:37 +0100 |
commit | c1ba1f409cd1566cb11d0c26d610ffdff4d2e24c (patch) | |
tree | de84c496770a651f4de71303896654ca73bd1c7f /app | |
parent | 0f669e8ca39fa14516af36380d3f1e4933f8c76a (diff) |
Unwrap the correct exception
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/com/wireguard/android/util/ExceptionLoggers.java | 2 |
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(); } |