SDK should drop the event when any event processor returns nil#1523
SDK should drop the event when any event processor returns nil#1523
Conversation
|
@rhcarvalho can you give this a quick look today? thanks 😄 |
rhcarvalho
left a comment
There was a problem hiding this comment.
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.