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:
parent
22e13acd65
commit
7fe5bacada
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue