improve error logging
This commit is contained in:
@@ -61,7 +61,7 @@ const mail = {
|
||||
}
|
||||
return email.send(msg)
|
||||
.catch(e => {
|
||||
log.error('Error sending email => %s', e)
|
||||
log.error('[MAIL]', e)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user