0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Changed bulk-email error to EmailError

no issue

- this error is more suitable than the generic GhostError
This commit is contained in:
Daniel Lockyer 2020-04-29 17:20:04 +01:00
parent 22e13acd65
commit 7fe5bacada

View file

@ -101,7 +101,7 @@ module.exports = {
if (error) {
// NOTE: logging an error here only but actual handling should happen in more sophisticated batch retry handler
// REF: possible mailgun errors https://documentation.mailgun.com/en/latest/api-intro.html#errors
let ghostError = new common.errors.GhostError({
let ghostError = new common.errors.EmailError({
err: error,
context: common.i18n.t('errors.services.mega.requestFailed.error')
});