From 7584126fa8d962936be8d52dc3de9ddc2c79dcc7 Mon Sep 17 00:00:00 2001 From: Stephen Sawchuk Date: Wed, 25 Mar 2015 14:24:46 -0400 Subject: [PATCH] use my fork for now --- lib/common/util.js | 6 +++++- package.json | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/common/util.js b/lib/common/util.js index c4b86804932..4e469eb6b76 100644 --- a/lib/common/util.js +++ b/lib/common/util.js @@ -426,7 +426,11 @@ function makeAuthorizedRequest(config) { function authorize(reqOpts, callback) { getAuthClient(function(err, authClient) { if (err) { - callback(err); + if (err.message.indexOf("Could not load") === 0) { + callback(null, reqOpts); + } else { + callback(err); + } return; } diff --git a/package.json b/package.json index 3f05f004830..37be5d9bb42 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "duplexify": "^3.2.0", "extend": "^2.0.0", "fast-crc32c": "^0.1.3", - "google-auth-library": "^0.9.3", + "google-auth-library": "stephenplusplus/google-auth-library-nodejs", "mime-types": "^2.0.8", "node-uuid": "^1.4.2", "once": "^1.3.1",