Do not use .stack property with error objects

This commit is contained in:
Andris Reinman 2017-03-24 13:04:38 +02:00
parent 060b6dbacc
commit d7c06e0a5a
8 changed files with 24 additions and 26 deletions

View file

@ -245,7 +245,7 @@ module.exports.addConfirmation = (list, email, optInIp, data, callback) => {
}
}, err => {
if (err) {
log.error('Subscription', err.stack);
log.error('Subscription', err);
}
});
};