fix: raise for rest transport http error by arithmetic1728 · Pull Request #738 · googleapis/gapic-generator-python · GitHub
Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

fix: raise for rest transport http error#738

Merged
arithmetic1728 merged 1 commit into
masterfrom
handle_error
Jan 20, 2021
Merged

fix: raise for rest transport http error#738
arithmetic1728 merged 1 commit into
masterfrom
handle_error

Conversation

@arithmetic1728

Copy link
Copy Markdown
Contributor

fix #730

raise error for error status code using the response.raise_for_status() api.

https://github.com/psf/requests/blob/4f6c0187150af09d085c03096504934eb91c7a9e/requests/models.py#L920

@arithmetic1728 arithmetic1728 requested a review from a team January 20, 2021 21:48
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Jan 20, 2021
@codecov

codecov Bot commented Jan 20, 2021

Copy link
Copy Markdown

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cannot parse error response for REST

2 participants