change logger.error to logger.info to prevent pm2 from crashing (#1830)

This commit is contained in:
benishak
2016-05-19 18:52:44 +02:00
committed by Drew
parent 03108e6347
commit fece2a4b47

View File

@@ -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);
}