change logger.error to logger.info to prevent pm2 from crashing (#1830)
This commit is contained in:
@@ -96,7 +96,7 @@ export default function pushStatusHandler(config) {
|
||||
status: 'failed',
|
||||
updatedAt: new Date()
|
||||
}
|
||||
logger.error('error while sending push', err);
|
||||
logger.info('warning: error while sending push', err);
|
||||
return database.update(PUSH_STATUS_COLLECTION, { objectId }, update);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user