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

Clone EventProcessors when cloning scope #348

Closed
wants to merge 1 commit into from
Closed

Clone EventProcessors when cloning scope #348

wants to merge 1 commit into from

Conversation

ajpetersons
Copy link

When cloning a Scope (or a Hub), EventProcessors were not copied. This caused them not to be applied when using Sentry HTTP middleware.

This change copies EventProcessors from original Scope to the cloned Scope.

@rhcarvalho
Copy link
Contributor

@ajpetersons thanks for the report/PR. Does #349 work for you? I think we can avoid some unnecessary allocations.

@ajpetersons
Copy link
Author

Yes, that seems to achieve what I'm looking for. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants