mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Added Sentry error capture for failed email update after sending is complete
refs https://github.com/TryGhost/Team/issues/1321 - when updating the Email record after submitting all email batches we have a `catch` call but it was only logging the error - added a call to Sentry so there's more visibility if those saves fail
This commit is contained in:
parent
414344c86c
commit
59c0d4b4e4
1 changed files with 1 additions and 0 deletions
|
@ -130,6 +130,7 @@ module.exports = {
|
||||||
id: emailModel.id
|
id: emailModel.id
|
||||||
});
|
});
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
sentry.captureException(err);
|
||||||
logging.error(err);
|
logging.error(err);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue