Tinkoff / micro-sentry

Tiny Sentry client with idiomatic wrapper for Angular
Apache License 2.0
118 stars 8 forks source link

fix: drop event if beforeSend returns null #11

Closed josketres closed 3 years ago

josketres commented 3 years ago

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

What is the current behavior?

What is the new behavior?

The sentry javascript SDK allows event filtering by returning null from the beforeSend callback. See https://docs.sentry.io/platforms/javascript/configuration/filtering/

Does this PR introduce a breaking change?

Other information

github-actions[bot] commented 3 years ago

:tada: This pull request is included in version core@2.1.1 :tada:

The release is available on GitHub release

github-actions[bot] commented 3 years ago

:tada: This pull request is included in version browser@2.1.1 :tada:

The release is available on GitHub release

github-actions[bot] commented 3 years ago

:tada: This pull request is included in version angular@2.1.1 :tada:

The release is available on GitHub release

IKatsuba commented 3 years ago

@josketres, thank you for your contribution!