console.error -> debug

This commit is contained in:
Girish Ramakrishnan
2017-02-07 10:48:51 -08:00
parent b91674799b
commit 53d56ef3a0
6 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -449,7 +449,7 @@ function setGroups(userId, groupIds, callback) {
if ((isAdmin && !wasAdmin) || (!isAdmin && wasAdmin)) {
getUser(userId, function (error, result) {
if (error) return console.error('Failed to send admin change mail.', error);
if (error) return debug('Failed to send admin change mail.', error);
mailer.adminChanged(result, isAdmin);
});