Skip to content

Commit 78229eb

Browse files
authored
Output converted exceptions (#13497)
1 parent b21249b commit 78229eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

jabgui/src/main/java/org/jabref/gui/util/UiTaskExecutor.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,8 @@ protected V call() throws Exception {
212212
}
213213

214214
private static Exception convertToException(Throwable throwable) {
215+
// LOGGER.warn here, because the exception silently disappears otherwise
216+
LOGGER.warn("Converting throwable to Exception", throwable);
215217
if (throwable instanceof Exception exception) {
216218
return exception;
217219
} else {

0 commit comments

Comments
 (0)