Changeset 16405 in josm for trunk


Ignore:
Timestamp:
2020-05-13T14:49:30+02:00 (4 years ago)
Author:
GerdP
Message:

fix #13177: Better handle errors while downloading parent ways/relations

  • show popup when an exception occurs
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadReferrersTask.java

    r15787 r16405  
    111111            return;
    112112        if (lastException != null) {
    113             ExceptionUtil.explainException(lastException);
     113            JOptionPane.showMessageDialog(
     114                    MainApplication.getMainFrame(),
     115                    ExceptionUtil.explainException(lastException),
     116                    tr("Error"),
     117                    JOptionPane.ERROR_MESSAGE);
    114118            return;
    115119        }
Note: See TracChangeset for help on using the changeset viewer.