Skip to content

Commit e281746

Browse files
committed
fix: ignoring net::ERR_CONNECTION_REFUSED in AWS SSO verification browser window
Refs #152
1 parent 09293b6 commit e281746

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/app/services/session/aws/methods/aws-sso-role.service.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,8 @@ export class AwsSsoRoleService extends AwsSessionService {
419419
if (
420420
details.error.indexOf('net::ERR_ABORTED') < 0 &&
421421
details.error.indexOf('net::ERR_FAILED') < 0 &&
422-
details.error.indexOf('net::ERR_CACHE_MISS') < 0
422+
details.error.indexOf('net::ERR_CACHE_MISS') < 0 &&
423+
details.error.indexOf('net::ERR_CONNECTION_REFUSED') < 0
423424
) {
424425
if (this.ssoWindow) {
425426
this.ssoWindow.close();

0 commit comments

Comments
 (0)