diff --git a/src/utils/HealthLogger.js b/src/utils/HealthLogger.js index fcdcfc5e9ad..5828817be8e 100644 --- a/src/utils/HealthLogger.js +++ b/src/utils/HealthLogger.js @@ -60,7 +60,8 @@ define(function (require, exports, module) { * @return {Object} Health Data aggregated till now */ function getStoredHealthData() { - return PreferencesManager.getViewState(HEALTH_DATA_STATE_KEY); + var storedData = PreferencesManager.getViewState(HEALTH_DATA_STATE_KEY) || {}; + return storedData; } /**