mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-08 02:52:39 -05: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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue