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 9aa3ba110f [formerly 82bef00378] [formerly da731be2f7] [formerly 2a01b1ebcd [formerly da731be2f7 [formerly 894e6ac1db5b34e6466c68aefa5877b9405bfd59]]]]
Former-commit-id: 2a01b1ebcd
Former-commit-id: 0e32ad72ab [formerly ecff8cddf2] [formerly 98418245e306d7bb9d04b03550569274aa13743e [formerly 95731087ed]]
Former-commit-id: b565c825d359b911b961e2fdf66de11743369c78 [formerly eec604da0d]
Former-commit-id: 18439faeb9
This commit is contained in:
Nate Jensen 2014-07-17 13:27:48 -05:00
parent 00fb95b9fb
commit 9d2c3e22db

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