-
-
Notifications
You must be signed in to change notification settings - Fork 485
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
SDK should drop the event when any event processor returns nil #1523
Conversation
@rhcarvalho can you give this a quick look today? thanks 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Late LGTM 👍
By the way, is the SDK implementing the same behavior for global event processors and beforeSend
?
What're global event processors? I thought they're always attached to a scope? It's implemented with According to the documentation, there are 5 steps in the event pipeline:
4 Is already implemented and this PR fixes 3. |
Some SDKs have, in addition to event processors added to Scope, event processors on Client and global. Those event processors are the same type of functions as beforeSend, the difference being that there can be multiple of them. Most integrations use event processors to modify or drop events. If the Ruby SDK doesn't have other event processors, that's okay and I suggest keeping things simple and not adding anything more. My question was in the sense to make sure we fixed all similar issues related to the behavior of dropping events, it seems we did. Thanks! 🙏 |
I see. Thanks for explaining 👍 |
This is something we should've supported but was missed.