Changeset 11189 in josm for trunk/src/org


Ignore:
Timestamp:
2016-10-30T00:17:54+02:00 (8 years ago)
Author:
wiktorn
Message:

Log GetCapabilities document on parse error

See: #13861

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/imagery/WMTSTileSource.java

    r11017 r11189  
    99import java.io.IOException;
    1010import java.io.InputStream;
     11import java.nio.charset.StandardCharsets;
    1112import java.util.ArrayList;
    1213import java.util.Collection;
     
    309310            } catch (XMLStreamException e) {
    310311                cf.clear();
     312                Main.warn(new String(data, StandardCharsets.UTF_8));
    311313                throw new IllegalArgumentException(e);
    312314            }
Note: See TracChangeset for help on using the changeset viewer.