You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/credentials/sso/SsoAccessTokenProvider.kt
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -176,7 +176,7 @@ class SsoAccessTokenProvider(
176
176
result =Result.Succeeded
177
177
)
178
178
} catch (e:Exception) {
179
-
getLogger<SsoAccessTokenProvider>().warn("Failed to save access token ${e.message}")
179
+
LOG.warn { "Failed to save access token ${e.message}" }
180
180
AuthTelemetry.modifyConnection(
181
181
action ="Write file",
182
182
source ="accessToken",
@@ -218,7 +218,7 @@ class SsoAccessTokenProvider(
218
218
result =Result.Succeeded
219
219
)
220
220
} catch (e:Exception) {
221
-
getLogger<SsoAccessTokenProvider>().warn("Failed to save client registration ${e.message}")
221
+
LOG.warn { "Failed to save client registration ${e.message}" }
222
222
AuthTelemetry.modifyConnection(
223
223
action ="Write file",
224
224
source ="registerDAGClient",
@@ -238,7 +238,7 @@ class SsoAccessTokenProvider(
238
238
}
239
239
240
240
if (!ssoUrl.contains("identitycenter")) {
241
-
getLogger<SsoAccessTokenProvider>().warn { "$ssoUrl does not appear to be a valid issuer URL" }
241
+
LOG.warn { "$ssoUrl does not appear to be a valid issuer URL" }
242
242
}
243
243
244
244
val registerResponse = client.registerClient {
@@ -270,7 +270,7 @@ class SsoAccessTokenProvider(
270
270
result =Result.Succeeded
271
271
)
272
272
} catch (e:Exception) {
273
-
getLogger<SsoAccessTokenProvider>().warn("Failed to save client registration${e.message}")
273
+
LOG.warn { "Failed to save client registration${e.message}" }
0 commit comments