Skip to content

Commit 40b2c03

Browse files
if nothing found, just pass back original reqOpts
1 parent d6056cc commit 40b2c03

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/common/util.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,11 @@ function makeAuthorizedRequest(config) {
426426
function authorize(reqOpts, callback) {
427427
getAuthClient(function(err, authClient) {
428428
if (err) {
429-
callback(err);
429+
if (err.message.indexOf("Could not load") === 0) {
430+
callback(null, reqOpts);
431+
} else {
432+
callback(err);
433+
}
430434
return;
431435
}
432436

0 commit comments

Comments
 (0)