mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
🐛 Fixed error logging crash when email recipients count if off by 1% (#19485)
no issue When creating the batches when sending an email, we log a message to Sentry when there is an unexpected offset of 1% between creating the email and actually creating the batch recipients. We used a method that was not mapped in our Sentry proxy. Location of error: ghost/email-service/lib/BatchSendingService.js:286
This commit is contained in:
parent
ed0762fb51
commit
709a0cf3c4
@ -115,6 +115,7 @@ if (sentryConfig && !sentryConfig.disabled) {
|
|||||||
}),
|
}),
|
||||||
tracingHandler: Sentry.Handlers.tracingHandler(),
|
tracingHandler: Sentry.Handlers.tracingHandler(),
|
||||||
captureException: Sentry.captureException,
|
captureException: Sentry.captureException,
|
||||||
|
captureMessage: Sentry.captureMessage,
|
||||||
beforeSend: beforeSend,
|
beforeSend: beforeSend,
|
||||||
initQueryTracing: (knex) => {
|
initQueryTracing: (knex) => {
|
||||||
if (sentryConfig.tracing?.enabled === true) {
|
if (sentryConfig.tracing?.enabled === true) {
|
||||||
|
Loading…
Reference in New Issue
Block a user