Commit c2f1210
authored
fix(amazonq): dev profile selection breaks if certain regions aren't … (aws#7203)
## Problem
Customer reported when a certain region is blocked(i.e. by cooperate
network), it causes the Q developer profile list to break, and the
customer can no longer use Q.
## Solution
Don't throw immediately when a region is unavailable. So that the user
still have access to working regions.
Only throw if all regions are failing.
## Testing
Shared the VSIX with customer and confirmed that issue is resolved.
---
- 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 4f1f8b4 commit c2f1210
File tree
2 files changed
+13
-3
lines changed- packages
- amazonq/.changes/next-release
- core/src/codewhisperer/region
2 files changed
+13
-3
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
| 142 | + | |
141 | 143 | | |
142 | 144 | | |
143 | 145 | | |
| |||
162 | 164 | | |
163 | 165 | | |
164 | 166 | | |
| 167 | + | |
165 | 168 | | |
166 | 169 | | |
167 | | - | |
168 | | - | |
| 170 | + | |
| 171 | + | |
169 | 172 | | |
| 173 | + | |
170 | 174 | | |
171 | | - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
172 | 178 | | |
173 | 179 | | |
174 | 180 | | |
| |||
0 commit comments