Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: sending email provider error to sentry #5471

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

davidsoderberg
Copy link
Contributor

No description provided.

Copy link

netlify bot commented Apr 29, 2024

Deploy Preview for dev-web-novu ready!

Name Link
🔨 Latest commit 066ecf9
🔍 Latest deploy log https://app.netlify.com/sites/dev-web-novu/deploys/662f655c8e725c00087ec38d
😎 Deploy Preview https://deploy-preview-5471--dev-web-novu.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Apr 29, 2024

Deploy Preview for novu-design ready!

Name Link
🔨 Latest commit 066ecf9
🔍 Latest deploy log https://app.netlify.com/sites/novu-design/deploys/662f655cf0e3a00008acd982
😎 Deploy Preview https://deploy-preview-5471--novu-design.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@@ -455,8 +455,7 @@ export class SendMessageEmail extends SendMessageBase {
'mail_unexpected_error',
error.message || error.name || 'Error while sending email with provider',
command,
LogCodeEnum.MAIL_PROVIDER_DELIVERY_ERROR,
error
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not providing the error to this method makes sure it does not pass it to sentry

@davidsoderberg davidsoderberg merged commit 5b5cbbc into next Apr 29, 2024
29 checks passed
@davidsoderberg davidsoderberg deleted the fix-sending-email-provider-error-to-sentry branch April 29, 2024 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants