forked from External/mage
GUI: reworked error dialog:
* added client version and improved stack trace; * added copy to clipboard button; * added button to create new issue on github (with prefilled form fields like error text); * added GUI size settings support; * some old errors now use new error dialog instead message box;
This commit is contained in:
parent
2631b31b8a
commit
6c0f7ebb90
11 changed files with 284 additions and 125 deletions
|
|
@ -786,9 +786,9 @@ public class NewTableDialog extends MageDialog {
|
|||
this.repaint();
|
||||
}
|
||||
|
||||
private void handleError(Exception ex) {
|
||||
logger.fatal("Error loading deck", ex);
|
||||
MageFrame.getInstance().showErrorDialog("Error loading deck", ex.getMessage());
|
||||
private void handleError(Exception e) {
|
||||
logger.fatal("Can't join table due " + e, e);
|
||||
MageFrame.getInstance().showErrorDialog("CLIENT - error on join table", e);
|
||||
}
|
||||
|
||||
public void showDialog(UUID roomId) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue