Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

chore: update gapic error handling #302

Merged
merged 2 commits into from
Feb 14, 2019
Merged

chore: update gapic error handling #302

merged 2 commits into from
Feb 14, 2019

Conversation

yoshi-automation
Copy link
Contributor

This PR was generated using Autosynth. 🌈

Here's the log from Synthtool:

synthtool > Executing /tmpfs/src/git/autosynth/working_repo/synth.py.
synthtool > Ensuring dependencies.
synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:5fd9aee1d82a00cebf425c8fa431f5457539562f5867ad9c54370f0ec9a7ccaa
Status: Image is up to date for googleapis/artman:latest
synthtool > Cloning googleapis.
synthtool > Running generator for google/cloud/speech/artman_speech_v1.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/js/speech-v1.
synthtool > Replaced '(mockBidiStreamingGrpcMethod\\()request' in test/gapic-v1.js.
synthtool > Replaced 'stream\\.write\\(request\\)' in test/gapic-v1.js.
synthtool > Replaced '// Mock request\n\\s*const request = {};' in test/gapic-v1.js.
synthtool > Running generator for google/cloud/speech/artman_speech_v1p1beta1.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/js/speech-v1p1beta1.
synthtool > Replaced '(mockBidiStreamingGrpcMethod\\()request' in test/gapic-v1p1beta1.js.
synthtool > Replaced 'stream\\.write\\(request\\)' in test/gapic-v1p1beta1.js.
synthtool > Replaced '// Mock request\n\\s*const request = {};' in test/gapic-v1p1beta1.js.
.eslintignore
.eslintrc.yml
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.jsdoc.js
.kokoro/common.cfg
.kokoro/continuous/node10/common.cfg
.kokoro/continuous/node10/test.cfg
.kokoro/continuous/node11/common.cfg
.kokoro/continuous/node11/test.cfg
.kokoro/continuous/node6/common.cfg
.kokoro/continuous/node6/test.cfg
.kokoro/continuous/node8/common.cfg
.kokoro/continuous/node8/docs.cfg
.kokoro/continuous/node8/lint.cfg
.kokoro/continuous/node8/samples-test.cfg
.kokoro/continuous/node8/system-test-grpcjs.cfg
.kokoro/continuous/node8/system-test.cfg
.kokoro/continuous/node8/test.cfg
.kokoro/docs.sh
.kokoro/lint.sh
.kokoro/presubmit/node10/common.cfg
.kokoro/presubmit/node10/test.cfg
.kokoro/presubmit/node11/common.cfg
.kokoro/presubmit/node11/test.cfg
.kokoro/presubmit/node6/common.cfg
.kokoro/presubmit/node6/test.cfg
.kokoro/presubmit/node8/common.cfg
.kokoro/presubmit/node8/docs.cfg
.kokoro/presubmit/node8/lint.cfg
.kokoro/presubmit/node8/samples-test.cfg
.kokoro/presubmit/node8/system-test-grpcjs.cfg
.kokoro/presubmit/node8/system-test.cfg
.kokoro/presubmit/node8/test.cfg
.kokoro/presubmit/windows/common.cfg
.kokoro/presubmit/windows/test.cfg
.kokoro/publish.sh
.kokoro/release/publish.cfg
.kokoro/samples-test.sh
.kokoro/system-test.sh
.kokoro/test.bat
.kokoro/test.sh
.kokoro/trampoline.sh
.nycrc
.prettierignore
.prettierrc
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
codecov.yaml
renovate.json
npm WARN deprecated text-encoding@0.6.4: no longer maintained
npm WARN deprecated calmcard@0.1.1: no longer maintained
npm WARN deprecated nopter@0.3.0: try optionator
npm WARN deprecated urlobj@0.0.11: use universal-url, minurl, relateurl, url-relation
npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.

> grpc@1.18.0 install /tmpfs/src/git/autosynth/working_repo/node_modules/grpc
> node-pre-gyp install --fallback-to-build --library=static_library

node-pre-gyp WARN Using needle for node-pre-gyp https download 
[grpc] Success: "/tmpfs/src/git/autosynth/working_repo/node_modules/grpc/src/node/extension_binary/node-v57-linux-x64-glibc/grpc_node.node" is installed via remote

> protobufjs@6.8.8 postinstall /tmpfs/src/git/autosynth/working_repo/node_modules/protobufjs
> node scripts/postinstall

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 1442 packages from 1327 contributors and audited 5047 packages in 32.771s
found 4 vulnerabilities (3 low, 1 high)
  run `npm audit fix` to fix them, or `npm audit` for details

> @google-cloud/speech@2.3.0 fix /tmpfs/src/git/autosynth/working_repo
> eslint --fix '**/*.js'


/tmpfs/src/git/autosynth/working_repo/samples/betaFeatures.js
   31:26  error  "@google-cloud/speech" is not found  node/no-missing-require
   80:26  error  "@google-cloud/speech" is not found  node/no-missing-require
  131:26  error  "@google-cloud/speech" is not found  node/no-missing-require
  172:26  error  "@google-cloud/speech" is not found  node/no-missing-require
  211:26  error  "@google-cloud/speech" is not found  node/no-missing-require
  248:26  error  "@google-cloud/speech" is not found  node/no-missing-require
  288:26  error  "@google-cloud/speech" is not found  node/no-missing-require
  334:26  error  "@google-cloud/speech" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/MicrophoneStream.js
  46:26  error  "node-record-lpcm16" is not found    node/no-missing-require
  49:26  error  "@google-cloud/speech" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/quickstart.js
  21:26  error  "@google-cloud/speech" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/recognize.js
   35:26  error  "@google-cloud/speech" is not found  node/no-missing-require
   79:26  error  "@google-cloud/speech" is not found  node/no-missing-require
  124:26  error  "@google-cloud/speech" is not found  node/no-missing-require
  182:26  error  "@google-cloud/speech" is not found  node/no-missing-require
  231:26  error  "@google-cloud/speech" is not found  node/no-missing-require
  279:26  error  "@google-cloud/speech" is not found  node/no-missing-require
  344:26  error  "@google-cloud/speech" is not found  node/no-missing-require
  383:26  error  "node-record-lpcm16" is not found    node/no-missing-require
  386:26  error  "@google-cloud/speech" is not found  node/no-missing-require
  449:26  error  "@google-cloud/speech" is not found  node/no-missing-require
  501:26  error  "@google-cloud/speech" is not found  node/no-missing-require
  551:26  error  "@google-cloud/speech" is not found  node/no-missing-require
  600:26  error  "@google-cloud/speech" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/recognize.v1p1beta1.js
  38:26  error  "@google-cloud/speech" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/system-test/betaFeatures.test.js
  19:26  error  "chai" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/system-test/MicrophoneStream.test.js
  19:26  error  "chai" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/system-test/recognize.test.js
  19:27  error  "@google-cloud/storage" is not found  node/no-missing-require
  20:26  error  "chai" is not found                   node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/system-test/recognize.v1p1beta1.test.js
  19:27  error  "@google-cloud/storage" is not found  node/no-missing-require
  20:26  error  "chai" is not found                   node/no-missing-require

✖ 31 problems (31 errors, 0 warnings)

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/speech@2.3.0 fix: `eslint --fix '**/*.js'`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @google-cloud/speech@2.3.0 fix script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/kbuilder/.npm/_logs/2019-02-13T12_26_23_504Z-debug.log
synthtool > Cleaned up 2 temporary directories.
synthtool > Wrote metadata to synth.metadata.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 13, 2019
@callmehiphop callmehiphop changed the title [CHANGE ME] Re-generated to pick up changes in the API or client library generator. chore: update gapic error handling Feb 14, 2019
@codecov
Copy link

codecov bot commented Feb 14, 2019

Codecov Report

Merging #302 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #302   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           2      2           
  Lines          35     35           
=====================================
  Hits           35     35

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 90750f6...74071cb. Read the comment docs.

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.

4 participants