Skip to content

Commit fece2a4

Browse files
benishakdrew-gross
authored andcommitted
change logger.error to logger.info to prevent pm2 from crashing (#1830)
1 parent 03108e6 commit fece2a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pushStatusHandler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export default function pushStatusHandler(config) {
9696
status: 'failed',
9797
updatedAt: new Date()
9898
}
99-
logger.error('error while sending push', err);
99+
logger.info('warning: error while sending push', err);
100100
return database.update(PUSH_STATUS_COLLECTION, { objectId }, update);
101101
}
102102

0 commit comments

Comments
 (0)