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

core: handle request errors that dont have a response #785

Merged

Conversation

stephenplusplus
Copy link
Contributor

Just picking away at #775. This requires a resp value to exist before checking for the value of its property. In the event of non-API related errors, such as "EHOSTUNREACH", "ECONNRESET", etc, these don't come with an HTTP response.

This is worthy of a patch release, but because we have added DNS, this can just ship with our next minor release. Which, maybe we should try to get out today? // @callmehiphop

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Aug 6, 2015
@stephenplusplus stephenplusplus added core and removed cla: yes This human has signed the Contributor License Agreement. labels Aug 6, 2015
callmehiphop added a commit that referenced this pull request Aug 6, 2015
core: handle request errors that dont have a response
@callmehiphop callmehiphop merged commit 7a07e11 into googleapis:master Aug 6, 2015
sofisl pushed a commit that referenced this pull request Nov 11, 2022
sofisl pushed a commit that referenced this pull request Nov 17, 2022
fix: use google-gax v3.3.0
Source-Link: googleapis/synthtool@c73d112
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest@sha256:b15a6f06cc06dcffa11e1bebdf1a74b6775a134aac24a0f86f51ddf728eb373e
sofisl pushed a commit that referenced this pull request Jan 10, 2023
…for services supporting this (Java, Go, Python, PHP, TypeScript, C#, and Ruby), even if they do not yet turn on REST transport (#785)

- [ ] Regenerate this pull request now.

chore: disallow "transport=rest" for services where numeric enums are not confirmed to be supported (except in PHP and Java)
PiperOrigin-RevId: 493113566

Source-Link: https://togithub.com/googleapis/googleapis/commit/758f0d1217d9c7fe398aa5efb1057ce4b6409e55

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/78bd8f05e1276363eb14eae70e91fe4bc20703ab
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzhiZDhmMDVlMTI3NjM2M2ViMTRlYWU3MGU5MWZlNGJjMjA3MDNhYiJ9

BEGIN_NESTED_COMMIT
feat: ExcludeByHotword added as an ExclusionRule type, NEW_ZEALAND added as a LocationCategory value
PiperOrigin-RevId: 487581128

Source-Link: https://togithub.com/googleapis/googleapis/commit/9140e5546470d945fc741f27707aa68f562088f0

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/502b50e61710bca3d774cb918314cb1ef39e6fe9
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTAyYjUwZTYxNzEwYmNhM2Q3NzRjYjkxODMxNGNiMWVmMzllNmZlOSJ9
END_NESTED_COMMIT
sofisl pushed a commit that referenced this pull request Jan 24, 2023
sofisl pushed a commit that referenced this pull request Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants