OsmApiException message is crippled by showMessageDialog
|Reported by:||robome||Owned by:||Gubaer|
The server just gave a 412 error on a upload.
While the exception on the console was ok:
org.openstreetmap.josm.io.OsmApiException: ResponseCode=412, Error Header=<Precondition failed: Node xxx is still used by way yyy.>,Error Body=<Precondition failed: Node xxx is still used by way yyy. >
(besides the superfluous newline before the >), the dialogue lacked the message.
Uploading to the server '''failed''' because your current dataset violates a precondition. The error message is: ResponseCode=412, Error Header=,Error Body= ></html>
I guess that's because showMessageDialog tries to interpret the actual message in <> as html tag and fails.