diff --git a/src/pushStatusHandler.js b/src/pushStatusHandler.js index 85beebd0a3..7b60ff7187 100644 --- a/src/pushStatusHandler.js +++ b/src/pushStatusHandler.js @@ -67,7 +67,7 @@ export default function pushStatusHandler(config) { results = flatten(results); results.reduce((memo, result) => { // Cannot handle that - if (!result.device || !result.device.deviceType) { + if (!result || !result.device || !result.device.deviceType) { return memo; } let deviceType = result.device.deviceType;