GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — error-reporting: Warn early if cannot access API by DominicKramer · Pull Request #2252 · googleapis/google-cloud-node

Conversation

@DominicKramer

@DominicKramer DominicKramer commented Apr 24, 2017

Copy link
Copy Markdown
Contributor

An attempt will be made to communicate with the API as soon as
the error reporting library is loaded so that the user will be
notified on application start if the error reporting library
cannot communicate with the API.

Without this change, the user will instead receive a warning
only when the error reporting library attempts to report its first
error.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
DominicKramer added 2 commits April 24, 2017 10:50
@DominicKramer
error-reporting: Warn early if cannot access API
84e5c0e
An attempt will be made to communicate with the API as soon as
the error reporting library is loaded so that the user will be
notified on application start if the error reporting library
cannot communicate with the API.

Without this change, the user will instead receive a warning
only when the error reporting library attempts to report its first
error.
@DominicKramer
Add tests to verify successful communication
acabafb
@DominicKramer DominicKramer added the api: error-reporting label Apr 24, 2017
@DominicKramer
DominicKramer requested a review from kjin April 24, 2017 18:48
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 24, 2017
@coveralls

coveralls commented Apr 24, 2017

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 100.0% when pulling acabafb on DominicKramer:feature/warn-if-cannot-access-api into 40abb0b on GoogleCloudPlatform:master.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

kjin
kjin approved these changes Apr 24, 2017
View reviewed changes

@kjin kjin left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM w/ minor comments.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/error-reporting/src/google-apis/auth-client.js
that._logger.warn([
'Unable to find credential information on instance. This library ' +
'will be unable to communicate with the Stackdriver API to save ' +
'errors. Message: ' + err.message

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/error-reporting/test/unit/testAuthClient.js Outdated
};
var config = new Configuration({ ignoreEnvironmentCheck: true }, logger);
new RequestHandler(config, logger);
assert.strictEqual(warnText, expectedWarn);

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

matthewloring
matthewloring suggested changes Apr 24, 2017
View reviewed changes
Comment thread packages/error-reporting/src/google-apis/auth-client.js Outdated
var that = this;
this.authClient.getToken(function(err, token) {
if (err) {
that._logger.warn([

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@DominicKramer
Address GitHub comments
5f7156b
@coveralls

coveralls commented Apr 24, 2017

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 100.0% when pulling 5f7156b on DominicKramer:feature/warn-if-cannot-access-api into 40abb0b on GoogleCloudPlatform:master.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

matthewloring
matthewloring approved these changes Apr 24, 2017
View reviewed changes
@stephenplusplus
stephenplusplus merged commit 8037b2a into googleapis:master Apr 25, 2017
GautamSharda pushed a commit that referenced this pull request Jan 14, 2026
@DominicKramer @stephenplusplus
error-reporting: Warn early if cannot access API (#2252)
c50935e
* error-reporting: Warn early if cannot access API

An attempt will be made to communicate with the API as soon as
the error reporting library is loaded so that the user will be
notified on application start if the error reporting library
cannot communicate with the API.

Without this change, the user will instead receive a warning
only when the error reporting library attempts to report its first
error.

* Add tests to verify successful communication

* Address GitHub comments
GautamSharda pushed a commit that referenced this pull request Jan 15, 2026
@DominicKramer @stephenplusplus
error-reporting: Warn early if cannot access API (#2252)
40c3fbf
* error-reporting: Warn early if cannot access API

An attempt will be made to communicate with the API as soon as
the error reporting library is loaded so that the user will be
notified on application start if the error reporting library
cannot communicate with the API.

Without this change, the user will instead receive a warning
only when the error reporting library attempts to report its first
error.

* Add tests to verify successful communication

* Address GitHub comments
@GautamSharda GautamSharda mentioned this pull request Jan 20, 2026
chore: migrate code from googleapis/nodejs-error-reporting #7019
Closed
4 tasks
GautamSharda pushed a commit that referenced this pull request Feb 5, 2026
@DominicKramer @stephenplusplus
error-reporting: Warn early if cannot access API (#2252)
0de67f7
* error-reporting: Warn early if cannot access API

An attempt will be made to communicate with the API as soon as
the error reporting library is loaded so that the user will be
notified on application start if the error reporting library
cannot communicate with the API.

Without this change, the user will instead receive a warning
only when the error reporting library attempts to report its first
error.

* Add tests to verify successful communication

* Address GitHub comments
@GautamSharda GautamSharda mentioned this pull request Feb 5, 2026
migrate code from googleapis/nodejs-error-reporting #7169
Closed
4 tasks
GautamSharda pushed a commit that referenced this pull request Feb 23, 2026
@DominicKramer @stephenplusplus
error-reporting: Warn early if cannot access API (#2252)
2770fd1
* error-reporting: Warn early if cannot access API

An attempt will be made to communicate with the API as soon as
the error reporting library is loaded so that the user will be
notified on application start if the error reporting library
cannot communicate with the API.

Without this change, the user will instead receive a warning
only when the error reporting library attempts to report its first
error.

* Add tests to verify successful communication

* Address GitHub comments
@GautamSharda GautamSharda mentioned this pull request Feb 23, 2026
migrate code from googleapis/nodejs-error-reporting #7294
Closed
sofisl pushed a commit that referenced this pull request Feb 24, 2026
@MarkDuckworth @jonathanedey
feat: Support fire-admin tag for Admin Node SDK (#2238) (#2252)
dde502f
Co-authored-by: Jonathan Edey <[email protected]>
sofisl pushed a commit that referenced this pull request Feb 25, 2026
@ddelgrosso1 @gcf-owl-bot
chore(deps): update gts to v5 and run linter (#2252)
67f8d5f
* chore(deps): update gts to v5 and run linter

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* linter

* manually update owlbot docker

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@GautamSharda GautamSharda mentioned this pull request Feb 26, 2026
migrate code from googleapis/nodejs-error-reporting #7308
Merged
4 tasks
sofisl pushed a commit that referenced this pull request Feb 26, 2026
@alkatrivedi
feat(spanner): support for Multiplexed Session Partitioned Ops (#2252)
a371277
* feat(spanner): support for Multiplexed Session Partitioned Ops

* feat(spanner): add support for snapshot isolation (#2245)

This PR contains code changes to add support for option IsolationLevel at the client level and at the transaction level.
supported methods are(RW and Blind Write):

```
- writeAtLeastOnce
- runTransactionAsync
- runTransaction
- getTransaction
- async getTransaction(from transaction runner class)
```

* refactor

* refactor
thiyaguk09 pushed a commit to thiyaguk09/google-cloud-node-fork that referenced this pull request Mar 18, 2026
@ddelgrosso1 @gcf-owl-bot
chore(deps): update gts to v5 and run linter (googleapis#2252)
181098e
* chore(deps): update gts to v5 and run linter

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* linter

* manually update owlbot docker

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

2 more reviewers
@matthewloring matthewloring matthewloring approved these changes
@kjin kjin kjin approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: error-reporting cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

6 participants

@DominicKramer @coveralls @matthewloring @kjin @stephenplusplus @googlebot
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.