Return false if can not send with Mailjet
This commit is contained in:
@ -63,6 +63,7 @@ const sendWithMailJet = async (
|
|||||||
})
|
})
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
logger.error('error sending with mailjet', { err })
|
logger.error('error sending with mailjet', { err })
|
||||||
|
return false
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user