Skip to content

Commit 86e9cb7

Browse files
authored
fix cancellation exception gets swallowed (#4607)
1 parent c056cd4 commit 86e9cb7

File tree

1 file changed

+2
-0
lines changed
  • plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/credentials

1 file changed

+2
-0
lines changed

plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/credentials/ToolkitAuthManager.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,8 @@ private fun reauthProviderIfNeeded(
272272
credentialSourceId = CredentialSourceId.AwsId,
273273
reason = e.message
274274
)
275+
276+
throw e
275277
}
276278
}
277279
}

0 commit comments

Comments
 (0)