Skip to content

Fix WithScope overloads on HubAdapter - #2309

Merged
mattjohnsonpint merged 7 commits into
mainfrom
fix/with-scope
Apr 19, 2023
Merged

mattjohnsonpint merged 7 commits into
mainfrom
fix/with-scope

Conversation

@mattjohnsonpint

Copy link
Copy Markdown
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