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

feat: Add extension method for progress interfaces to throw exceptions with better stack traces #2330

Merged
merged 2 commits into from
Feb 10, 2023

Conversation

jskeet
Copy link
Collaborator

@jskeet jskeet commented Feb 10, 2023

This will help us to diagnose googleapis/google-cloud-dotnet#8552 more easily.

@jskeet jskeet requested a review from a team as a code owner February 10, 2023 14:52
@jskeet
Copy link
Collaborator Author

jskeet commented Feb 10, 2023

Just thought: I could do the same for IDownloadProgress. Does that sound like a good plan? Can add another commit to the same PR.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
…n with a better stack trace
@jskeet jskeet changed the title feat: Add extension method for IUploadProgress to throw an exception with a better stack trace feat: Add extension method for progress interfaces to throw exceptions with better stack traces Feb 10, 2023
Copy link
Contributor

@amanda-tarafa amanda-tarafa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jskeet jskeet merged commit 0c41dde into googleapis:main Feb 10, 2023
@jskeet jskeet deleted the better-exceptions branch February 10, 2023 16:32
amanda-tarafa added a commit to amanda-tarafa/google-api-dotnet-client that referenced this pull request Feb 20, 2023
Features:

- googleapis#2330 Improves exceptions thrown from progress interfaces.
amanda-tarafa added a commit that referenced this pull request Feb 20, 2023
Features:

- #2330 Improves exceptions thrown from progress interfaces.
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.

None yet

2 participants