Fixes unhandled promise rejection error while sending push (#4172)
This commit is contained in:
@@ -247,7 +247,6 @@ export function pushStatusHandler(config, objectId = newObjectId(config.objectId
|
||||
status: 'failed',
|
||||
updatedAt: new Date()
|
||||
}
|
||||
logger.warn(`_PushStatus ${objectId}: error while sending push`, err);
|
||||
return handler.update({ objectId }, update);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user