Issue #2954 actually log when the scalesInfo.xml cannot be parsed before

falling back to the base version

Change-Id: I2df669504061160c6ace76560f07845f99a80912

Former-commit-id: 2a01b1ebcd [formerly 894e6ac1db5b34e6466c68aefa5877b9405bfd59]
Former-commit-id: da731be2f7
This commit is contained in:
Nate Jensen 2014-07-17 13:27:48 -05:00
parent c07802a208
commit 82bef00378

View file

@ -259,6 +259,8 @@ filename);
/*
* failed to load scalesInfo file, try and fall back to BASE
*/
statusHandler.error("Error loading " + DEFAULT_SCALES_FILE
+ ". Attempting to revert to base version. ", e);
if (!locFile.getContext().getLocalizationLevel()
.equals(LocalizationLevel.BASE)) {
locFile = PathManagerFactory.getPathManager()