mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-23 06:55:08 +01:00
Merge pull request #4874 from jmacxx/fix_systray_error
Prevent annoying popup errors for unhandled systray exception.
This commit is contained in:
commit
c782f22fe8
1 changed files with 3 additions and 0 deletions
|
@ -74,6 +74,9 @@ public class CommonSetup {
|
|||
} else if (throwable instanceof ClassCastException &&
|
||||
"sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData".equals(throwable.getMessage())) {
|
||||
log.warn(throwable.getMessage());
|
||||
} else if (throwable instanceof UnsupportedOperationException &&
|
||||
"The system tray is not supported on the current platform.".equals(throwable.getMessage())) {
|
||||
log.warn(throwable.getMessage());
|
||||
} else {
|
||||
log.error("Uncaught Exception from thread " + Thread.currentThread().getName());
|
||||
log.error("throwableMessage= " + throwable.getMessage());
|
||||
|
|
Loading…
Add table
Reference in a new issue