Fixed: Display in log the file location who failed when the ConfigXMLReader throw an exception during the xml parsing
Currently only the Exception is visible that can't help to spot quickly the origin component.
@@ -173,7 +173,7 @@ public class ConfigXMLReader {
}
return rootElement;
} catch (Exception e) {
- Debug.logError(e, module);
+ Debug.logError("When read " + (location != null? location.toString(): "empty location (!)") + " threw " + e.toString(), module);
throw new WebAppConfigurationException(e);
}
}
