Skip to content

Commit

Permalink
fix: ignoring net::ERR_CONNECTION_REFUSED in AWS SSO verification bro…
Browse files Browse the repository at this point in the history
…wser window

Refs #152
  • Loading branch information
ericvilla committed Aug 5, 2021
1 parent 09293b6 commit e281746
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/services/session/aws/methods/aws-sso-role.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,8 @@ export class AwsSsoRoleService extends AwsSessionService {
if (
details.error.indexOf('net::ERR_ABORTED') < 0 &&
details.error.indexOf('net::ERR_FAILED') < 0 &&
details.error.indexOf('net::ERR_CACHE_MISS') < 0
details.error.indexOf('net::ERR_CACHE_MISS') < 0 &&
details.error.indexOf('net::ERR_CONNECTION_REFUSED') < 0
) {
if (this.ssoWindow) {
this.ssoWindow.close();
Expand Down

0 comments on commit e281746

Please sign in to comment.