Commit 696db72 1 parent ecc6644 commit 696db72 Copy full SHA for 696db72
File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 47
47
"karma-firefox-launcher" : " ^2.0.0" ,
48
48
"karma-mocha" : " ^2.0.0" ,
49
49
"karma-sourcemap-loader" : " ^0.4.0" ,
50
- "karma-webpack" : " ^ 5.0.0" ,
50
+ "karma-webpack" : " 5.0.0" ,
51
51
"keypair" : " ^1.0.4" ,
52
52
"linkinator" : " ^4.0.0" ,
53
53
"mocha" : " ^9.2.2" ,
Original file line number Diff line number Diff line change @@ -343,7 +343,12 @@ export class GoogleAuth<T extends AuthClient = JSONClient> {
343
343
let universeDomain = originalOrCamelOptions ( this . clientOptions ) . get (
344
344
'universe_domain'
345
345
) ;
346
- universeDomain ??= ( await this . getClient ( ) ) . universeDomain ;
346
+ try {
347
+ universeDomain ??= ( await this . getClient ( ) ) . universeDomain ;
348
+ } catch {
349
+ // client or ADC is not available
350
+ universeDomain ??= DEFAULT_UNIVERSE ;
351
+ }
347
352
348
353
return universeDomain ;
349
354
}
You can’t perform that action at this time.
0 commit comments