GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |
GeezerVison is showing github.com — common: handle unknown api errors. by stephenplusplus · Pull Request #203 · googleapis/google-cloud-node Conversation
Contributor
When I was playing around with my awesome sillycloud app (source, demo), I ran into an issue where I had to parse an error string to get a useful status code: https://github.com/stephenplusplus/sillycloud/blob/master/actions.js#L36 The error I was getting was because I was using the wrong JSON key file, so what was actually failing wasn't the json datastore api, but the googleapis.com datastore request from Transaction#makeReq. I'm probably telling you what you already know, but the error response format from that host doesn't match the nice format we get from a cloud service json API request. While we can't provide a very detailed error from that failed request, the end user should at least have a consistent format to expect from us, so I made these, and any other non-200s error cases an 👍 or 👎 ?
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
rakyll
pushed a commit
that referenced
this pull request
common: handle unknown api errors.
4 tasks
sofisl
pushed a commit
that referenced
this pull request
* updated CHANGELOG.md [ci skip] * updated package.json [ci skip] * updated samples/package.json [ci skip]
sofisl
pushed a commit
that referenced
this pull request
4 tasks
4 tasks
sofisl
pushed a commit
that referenced
this pull request
4 tasks
sofisl
pushed a commit
that referenced
this pull request
sofisl
pushed a commit
that referenced
this pull request
This was referenced
sofisl
pushed a commit
that referenced
this pull request
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
sofisl
pushed a commit
that referenced
this pull request
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [sinon](https://sinonjs.org/) ([source](https://togithub.com/sinonjs/sinon)) | [`^11.0.0` -> `^12.0.0`](https://renovatebot.com/diffs/npm/sinon/11.1.2/12.0.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>sinonjs/sinon</summary> ### [`v12.0.1`](https://togithub.com/sinonjs/sinon/blob/master/CHANGES.md#​1201) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v12.0.0...v12.0.1) - [`3f598221`](https://togithub.com/sinonjs/sinon/commit/3f598221045904681f2b3b3ba1df617ed5e230e3) Fix issue with npm unlink for npm version > 6 (Carl-Erik Kopseng) > 'npm unlink' would implicitly unlink the current dir > until version 7, which requires an argument - [`51417a38`](https://togithub.com/sinonjs/sinon/commit/51417a38111eeeb7cd14338bfb762cc2df487e1b) Fix bundling of cjs module ([#​2412](https://togithub.com/sinonjs/sinon/issues/2412)) (Julian Grinblat) > - Fix bundling of cjs module > > - Run prettier *Released by [Carl-Erik Kopseng](https://togithub.com/fatso83) on 2021-11-04.* #### 12.0.0 ### [`v12.0.0`](https://togithub.com/sinonjs/sinon/compare/v11.1.2...v12.0.0) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v11.1.2...v12.0.0) </details> --- ### Configuration 📅 **Schedule**: "after 9am and before 3pm" (UTC). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/nodejs-recommender).
4 tasks
sofisl
pushed a commit
that referenced
this pull request
sofisl
pushed a commit
that referenced
this pull request
sofisl
pushed a commit
that referenced
this pull request
This was referenced
sofisl
pushed a commit
that referenced
this pull request
This was referenced
sofisl
pushed a commit
that referenced
this pull request
4 tasks
sofisl
pushed a commit
that referenced
this pull request
4 tasks
GautamSharda
pushed a commit
that referenced
this pull request
GautamSharda
pushed a commit
that referenced
this pull request
4 tasks
codyoss
pushed a commit
that referenced
this pull request
GautamSharda
pushed a commit
that referenced
this pull request
4 tasks
sofisl
pushed a commit
that referenced
this pull request
sofisl
pushed a commit
that referenced
this pull request
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/ce28a18d-da8c-4e38-94c0-e9f48b3c281e/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: googleapis/synthtool@0c868d4
codyoss
pushed a commit
that referenced
this pull request
codyoss
pushed a commit
that referenced
this pull request
GautamSharda
pushed a commit
that referenced
this pull request
This was referenced
GautamSharda
pushed a commit
that referenced
this pull request
…secrets.sh (#203) This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/e306327b-605f-4c07-9420-c106e40c47d5/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: googleapis/synthtool@e703494
4 tasks
GautamSharda
pushed a commit
that referenced
this pull request
…secrets.sh (#203) This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/e306327b-605f-4c07-9420-c106e40c47d5/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: googleapis/synthtool@e703494
GautamSharda
pushed a commit
that referenced
this pull request
4 tasks
sofisl
added a commit
that referenced
this pull request
GautamSharda
pushed a commit
that referenced
this pull request
* Don't autoconvert a rowKey to utf8 string; Allow custom decoding * Use more appropriate default for empty rowKey * Added docs and more tests
4 tasks
GautamSharda
pushed a commit
that referenced
this pull request
* Don't autoconvert a rowKey to utf8 string; Allow custom decoding * Use more appropriate default for empty rowKey * Added docs and more tests
feywind
pushed a commit
that referenced
this pull request
shivanee-p
pushed a commit
that referenced
this pull request
* Don't autoconvert a rowKey to utf8 string; Allow custom decoding * Use more appropriate default for empty rowKey * Added docs and more tests
thiyaguk09
pushed a commit
to thiyaguk09/google-cloud-node-fork
that referenced
this pull request
* Don't autoconvert a rowKey to utf8 string; Allow custom decoding * Use more appropriate default for empty rowKey * Added docs and more tests
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. | |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |