mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-20 02:12:00 +01:00
Add log for Classname of uncaught throwable
This commit is contained in:
parent
ba909647dc
commit
726f81c8fe
@ -115,10 +115,11 @@ public class BitsquareApp extends Application {
|
||||
log.error(throwable.getMessage());
|
||||
} else {
|
||||
log.error("Uncaught Exception from thread " + Thread.currentThread().getName());
|
||||
log.error("Uncaught Exception throwableMessage= " + throwable.getMessage());
|
||||
log.error("throwableMessage= " + throwable.getMessage());
|
||||
log.error("throwableClass= " + throwable.getClass());
|
||||
throwable.printStackTrace();
|
||||
if (throwable instanceof ArrayIndexOutOfBoundsException) {
|
||||
log.error("StackTrace:\n" + ExceptionUtils.getStackTrace(throwable));
|
||||
log.error("Stack trace:\n" + ExceptionUtils.getStackTrace(throwable));
|
||||
} else {
|
||||
UserThread.execute(() -> showErrorPopup(throwable, false));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user