forked from External/mage
connection: improved error processing and stability in connect dialog
This commit is contained in:
parent
adf57a0677
commit
0b0e947741
6 changed files with 55 additions and 24 deletions
|
|
@ -34,7 +34,7 @@ public class MageUI {
|
|||
super.afterExecute(r, t);
|
||||
|
||||
// catch errors in popup threads (example: card popup over cards or chat/log messages)
|
||||
t = ThreadUtils.findRealException(r, t);
|
||||
t = ThreadUtils.findRunnableException(r, t);
|
||||
if (t != null && !(t instanceof CancellationException)) {
|
||||
logger.error("Catch unhandled error in POPUP thread: " + t.getMessage(), t);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue