Changeset 18802 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2023-08-09T15:50:55+02:00 (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/ExceptionDialogUtil.java
r17333 r18802 331 331 */ 332 332 public static void explainGenericHttpException(OsmApiException e) { 333 String body = e.getErrorBody(); 334 Object msg = null;333 final String body = e.getErrorBody(); 334 final String msg; 335 335 if (e.isHtml() && body != null && body.startsWith("<") && body.contains("<html>")) { 336 336 // use html string as is 337 msg = body; 337 338 } else { 338 339 msg = ExceptionUtil.explainGeneric(e);
Note:
See TracChangeset
for help on using the changeset viewer.