Commit 85cd5ba
committed
fix: wrap entire ServiceOptions creation in try-catch for CI
The IllegalStateException is thrown during ServiceOptions.build() when
credential discovery fails, not during ApiUserService construction.
Moving the entire options creation inside the try-catch ensures the
exception is properly caught in CI environments where no credentials exist.1 parent 197a3a1 commit 85cd5ba
1 file changed
Lines changed: 6 additions & 6 deletions
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
520 | | - | |
521 | | - | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | 520 | | |
527 | 521 | | |
528 | 522 | | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
529 | 529 | | |
530 | 530 | | |
531 | 531 | | |
| |||
0 commit comments