Skip to content

Commit

Permalink
Propagate exceptions sanely.
Browse files Browse the repository at this point in the history
  • Loading branch information
csmith committed Feb 13, 2016
1 parent 899d6a0 commit 8e701d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/dmdirc/util/LogUtils.java
Expand Up @@ -87,7 +87,7 @@ public static Throwable getThrowable(final ILoggingEvent eventObject) {
try {
return getThrowable(eventObject.getThrowableProxy());
} catch (ReflectiveOperationException ex) {
return new IllegalStateException("Error converting exception");
return new IllegalStateException("Error converting exception", ex);
}
}

Expand Down

0 comments on commit 8e701d9

Please sign in to comment.