Do not use .stack property with error objects
This commit is contained in:
parent
060b6dbacc
commit
d7c06e0a5a
8 changed files with 24 additions and 26 deletions
|
@ -309,7 +309,7 @@ module.exports.updateLinks = (campaign, list, subscription, serviceUrl, message,
|
|||
isAttributeValue: true
|
||||
}), campaign.id, (err, linkId, cid) => {
|
||||
if (err) {
|
||||
log.error('Link', err.stack);
|
||||
log.error('Link', err);
|
||||
return storeNext();
|
||||
}
|
||||
map.set(urlItem.value, cid);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue