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

falling back to the base version

Change-Id: I2df669504061160c6ace76560f07845f99a80912

Former-commit-id: 9aa3ba110f [formerly 82bef00378] [formerly da731be2f7] [formerly 2a01b1ebcd [formerly da731be2f7 [formerly 894e6ac1db5b34e6466c68aefa5877b9405bfd59]]]
Former-commit-id: 2a01b1ebcd
Former-commit-id: 98418245e306d7bb9d04b03550569274aa13743e [formerly 95731087ed]
Former-commit-id: ecff8cddf2
This commit is contained in:
Nate Jensen 2014-07-17 13:27:48 -05:00
parent 8a296f44dc
commit 0e32ad72ab

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()