From 40b2c0357251bc7743d57de3fda1f0813b5c3800 Mon Sep 17 00:00:00 2001 From: Stephen Sawchuk Date: Wed, 25 Mar 2015 14:25:50 -0400 Subject: [PATCH] if nothing found, just pass back original reqOpts --- lib/common/util.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; }