forked from External/mage
added reconnect dialog - not quite finished
This commit is contained in:
parent
89f6e18c90
commit
975ce7ba21
5 changed files with 291 additions and 44 deletions
|
|
@ -316,7 +316,7 @@ public class Client implements CallbackClient {
|
|||
private void handleException(Exception ex) {
|
||||
logger.fatal("Client error\n", ex);
|
||||
JOptionPane.showMessageDialog(MageFrame.getDesktop(), "Unrecoverable client error. Disconnecting", "Error", JOptionPane.ERROR_MESSAGE);
|
||||
session.disconnect();
|
||||
session.disconnect(false);
|
||||
frame.disableButtons();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue