Changeset 15937 in josm


Ignore:
Timestamp:
2020-02-26T10:50:27+01:00 (5 weeks ago)
Author:
GerdP
Message:

fix #18772: log warning instead of showing bug report popup and continue initialization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/Territories.java

    r15913 r15937  
    2727import javax.json.stream.JsonParser;
    2828import javax.json.stream.JsonParser.Event;
     29import javax.json.stream.JsonParsingException;
    2930
    3031import org.openstreetmap.josm.data.coor.LatLon;
     
    188189                }
    189190            }
    190         } catch (IOException e) {
    191             throw new JosmRuntimeException(e);
     191        } catch (IOException |JsonParsingException e) {
     192            Logging.trace(e);
     193            Logging.warn(tr("Failed to parse taginfo data geofabrik-index-v1-nogeom.json"));
    192194        }
    193195    }
Note: See TracChangeset for help on using the changeset viewer.