﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
22880	[patch] Use a single log entry for MapCSS error logging	gaben	team	"I noticed the issue when the edited MapCSS rule was invalid, see status report of #22878.

{{{#!diff
Index: src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSParser.jj
===================================================================
--- src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSParser.jj	(revision 18702)
+++ src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSParser.jj	(working copy)
@@ -1162,8 +1162,7 @@
         e = new ParseException(pe.getMessage()); // prevent memory leak
     }
     
-    Logging.error(""Skipping to the next rule, because of an error:"");
-    Logging.error(e);
+    Logging.error(""Skipping to the next rule, because of an error: "" + e);
     if (sheet != null) {
         sheet.logError(e);
     }
}}}
"	enhancement	new	trivial	23.04	Core			mapcss log error_handling	
