mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03:00
Updated batch sending to log errors separately
fixes https://github.com/TryGhost/Team/issues/2347 Makes sure we can use the error code
This commit is contained in:
parent
dee00e36a0
commit
0182965aa3
@ -309,7 +309,8 @@ class BatchSendingService {
|
||||
}, {patch: true, require: false});
|
||||
succeeded = true;
|
||||
} catch (err) {
|
||||
logging.error(`Error sending email batch ${batch.id}`, err);
|
||||
logging.error(`Error sending email batch ${batch.id}`);
|
||||
logging.error(err);
|
||||
|
||||
await batch.save({
|
||||
status: 'failed',
|
||||
|
Loading…
Reference in New Issue
Block a user