Skip to content

Commit 664d1c3

Browse files
committed
Better handling for unexpected Fieldpapers API response
1 parent 1e5d9d9 commit 664d1c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/org/openstreetmap/josm/plugins/fieldpapers/FieldPapersAddLayerAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public void openUrl(String url) {
7171
JsonObject metadata = getMetadata(url);
7272

7373
if (metadata == null || metadata.getJsonString("tilejson_url") == null) {
74-
JOptionPane.showMessageDialog(MainApplication.getMainFrame(), tr("Could not read information for \"{0}\" from fieldpapers.org", url));
74+
JOptionPane.showMessageDialog(MainApplication.getMainFrame(), tr("Could not read information from fieldpapers.org. Make sure you're using the URL for a Snapshot, not Atlas.", url));
7575
return;
7676
}
7777

0 commit comments

Comments
 (0)