aws / aws-toolkit-vscode

Amazon Q, CodeCatalyst, Local Lambda debug, SAM/CFN syntax, ECS Terminal, AWS resources
https://marketplace.visualstudio.com/items?itemName=AmazonWebServices.amazon-q-vscode
Apache License 2.0
1.51k stars 436 forks source link

fix(auth): handle new errors during SSO token refresh #5532

Closed nkomonen-amazon closed 2 months ago

nkomonen-amazon commented 2 months ago

Problem

There are more network errors that we are seeing in telemetry that are not handled in isNetworkError().

Solution

Update isNetworkError() to handle these new errors.

See each commit for the specific error handled.


License: I confirm that my contribution is made under the terms of the Apache 2.0 license.