Bug 1117830 - Part 0: log account state on AndroidFxAccount init. r=nalexander

This commit is contained in:
Richard Newman 2015-03-12 17:48:43 -07:00
Родитель d8fe04f804
Коммит 114fcf1ff1
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -540,6 +540,7 @@ public class AndroidFxAccount {
try { try {
StateLabel stateLabel = StateLabel.valueOf(stateLabelString); StateLabel stateLabel = StateLabel.valueOf(stateLabelString);
Logger.debug(LOG_TAG, "Account is in state " + stateLabel);
return StateFactory.fromJSONObject(stateLabel, new ExtendedJSONObject(stateString)); return StateFactory.fromJSONObject(stateLabel, new ExtendedJSONObject(stateString));
} catch (Exception e) { } catch (Exception e) {
throw new IllegalStateException("could not get state", e); throw new IllegalStateException("could not get state", e);