Skip to content

Commit

Permalink
Better handling for unexpected Fieldpapers API response
Browse files Browse the repository at this point in the history
  • Loading branch information
iandees committed Sep 9, 2024
1 parent 1e5d9d9 commit 664d1c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public void openUrl(String url) {
JsonObject metadata = getMetadata(url);

if (metadata == null || metadata.getJsonString("tilejson_url") == null) {
JOptionPane.showMessageDialog(MainApplication.getMainFrame(), tr("Could not read information for \"{0}\" from fieldpapers.org", url));
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));
return;
}

Expand Down

0 comments on commit 664d1c3

Please sign in to comment.