Commit 283311a
authored
fix(auth): do not retry on InvalidGrantException (aws#8205)
## Problem:
```
// As part of SIM IDE-10703, there was an assumption that retrying on InvalidGrantException
// may be useful. This may not be the case anymore and if more research is done, this may not be needed.
```
## Solution:
We do not want to retry on `InvalidGrantException` as this is a
non-retryable exception
Brings parity with JB:
aws/aws-toolkit-jetbrains#5764
---
- Treat all work as PUBLIC. Private `feature/x` branches will not be
squash-merged at release time.
- Your code changes must meet the guidelines in
[CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines).
- License: I confirm that my contribution is made under the terms of the
Apache 2.0 license.1 parent 87228e3 commit 283311a
1 file changed
+1
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| |||
104 | 103 | | |
105 | 104 | | |
106 | 105 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | 106 | | |
118 | 107 | | |
119 | 108 | | |
120 | 109 | | |
121 | 110 | | |
122 | | - | |
| 111 | + | |
123 | 112 | | |
124 | 113 | | |
125 | 114 | | |
| |||
0 commit comments