Skip to content

Commit

Permalink
fix(logs): fix FCM logging
Browse files Browse the repository at this point in the history
  • Loading branch information
paglias committed Apr 2, 2019
1 parent d519940 commit e10655a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/server/libs/pushNotifications.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function sendNotification (user, details = {}) {

fcmSender.send(message, {
registrationTokens: [pushDevice.regId],
}, 10, (err) => logger.error('FCM Error', err));
}, 10, (err) => logger.error(err, 'FCM Error'));
}
break;

Expand Down

0 comments on commit e10655a

Please sign in to comment.