Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
fix: throw on invalid credentials (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Feb 15, 2019
1 parent c4b1c05 commit fb9e539
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 5 deletions.
4 changes: 4 additions & 0 deletions src/v3/alert_policy_service_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ class AlertPolicyServiceClient {
function() {
const args = Array.prototype.slice.call(arguments, 0);
return stub[methodName].apply(stub, args);
},
err =>
function() {
throw err;
}
),
defaults[methodName],
Expand Down
4 changes: 4 additions & 0 deletions src/v3/group_service_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ class GroupServiceClient {
function() {
const args = Array.prototype.slice.call(arguments, 0);
return stub[methodName].apply(stub, args);
},
err =>
function() {
throw err;
}
),
defaults[methodName],
Expand Down
4 changes: 4 additions & 0 deletions src/v3/metric_service_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,10 @@ class MetricServiceClient {
function() {
const args = Array.prototype.slice.call(arguments, 0);
return stub[methodName].apply(stub, args);
},
err =>
function() {
throw err;
}
),
defaults[methodName],
Expand Down
4 changes: 4 additions & 0 deletions src/v3/notification_channel_service_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ class NotificationChannelServiceClient {
function() {
const args = Array.prototype.slice.call(arguments, 0);
return stub[methodName].apply(stub, args);
},
err =>
function() {
throw err;
}
),
defaults[methodName],
Expand Down
4 changes: 4 additions & 0 deletions src/v3/uptime_check_service_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ class UptimeCheckServiceClient {
function() {
const args = Array.prototype.slice.call(arguments, 0);
return stub[methodName].apply(stub, args);
},
err =>
function() {
throw err;
}
),
defaults[methodName],
Expand Down
10 changes: 5 additions & 5 deletions synth.metadata
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"updateTime": "2019-02-07T12:18:18.054766Z",
"updateTime": "2019-02-15T12:17:48.322500Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.16.10",
"dockerImage": "googleapis/artman@sha256:0954ba3e40d694e631bb2f39460d502a3d9f3a66d40b7a9a67f4b30012195beb"
"version": "0.16.13",
"dockerImage": "googleapis/artman@sha256:5fd9aee1d82a00cebf425c8fa431f5457539562f5867ad9c54370f0ec9a7ccaa"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "49b7906ba5f15c1bc52bf5febc3bd0645d29b980",
"internalRef": "232773383"
"sha": "0b81123e2e0e6a5097102a765c54d7c771781461",
"internalRef": "233777126"
}
},
{
Expand Down

0 comments on commit fb9e539

Please sign in to comment.