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 WithScope overloads on HubAdapter #2309

Merged
merged 7 commits into from
Apr 19, 2023
Merged

Fix WithScope overloads on HubAdapter #2309

merged 7 commits into from
Apr 19, 2023

Conversation

mattjohnsonpint
Copy link
Contributor

Follow up to #2303.

Makes sure the WithScope overloads added in #2303 work on HubAdapter instances, by adding them to the IHubEx interface and implementing that on HubAdapter. (This also required implementing CaptureEventInternal in a few places.)

Also, the original Hub.WithScope was swallowing exceptions. It should not, as that would hide any unhandled exceptions in the user-supplied callback.

@mattjohnsonpint mattjohnsonpint merged commit 29d744e into main Apr 19, 2023
@mattjohnsonpint mattjohnsonpint deleted the fix/with-scope branch April 19, 2023 00:26
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