Log the exception when parsing settings fails
Test: compile Change-Id: Ifb96bff3e0bf35bcff2635c8d03a09ae5200ffa1
This commit is contained in:
@@ -1087,6 +1087,7 @@ final class SettingsState {
|
||||
parseStateLocked(parser);
|
||||
return true;
|
||||
} catch (XmlPullParserException | IOException e) {
|
||||
Slog.e(LOG_TAG, "parse settings xml failed", e);
|
||||
return false;
|
||||
} finally {
|
||||
IoUtils.closeQuietly(in);
|
||||
|
||||
Reference in New Issue
Block a user