Changeset 15251 in josm for trunk


Ignore:
Timestamp:
2019-07-15T22:22:57+02:00 (5 years ago)
Author:
Don-vip
Message:

fix #17929 - see #17722 - don't display random network or API issues, just log them

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/MessageNotifier.java

    r15084 r15251  
    8989                    }
    9090                }
     91            } catch (OsmApiException e) {
     92                // We want to explicitely display message to user in some cases like when he has been blocked (#17722)
     93                ExceptionDialogUtil.explainOsmTransferException(e);
    9194            } catch (OsmTransferException e) {
    92                 ExceptionDialogUtil.explainOsmTransferException(e);
     95                // But not message for random network or API issues (like in #17929)
     96                Logging.warn(e);
    9397            }
    9498        }
Note: See TracChangeset for help on using the changeset viewer.