mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -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) {
|
if (error) {
|
||||||
// NOTE: logging an error here only but actual handling should happen in more sophisticated batch retry handler
|
// 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
|
// 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,
|
err: error,
|
||||||
context: common.i18n.t('errors.services.mega.requestFailed.error')
|
context: common.i18n.t('errors.services.mega.requestFailed.error')
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue