File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import {
1515 type AwsCredentialIdentity ,
1616 type AwsCredentialIdentityProvider ,
1717} from "@smithy/types" ;
18+ import * as Console from "effect/Console" ;
1819import * as Context from "effect/Context" ;
1920import * as Data from "effect/Data" ;
2021import * as Effect from "effect/Effect" ;
@@ -298,6 +299,9 @@ export const fromSSO = () =>
298299 ) ;
299300
300301 if ( isExpired ( ssoToken . expiresAt ) ) {
302+ yield * Console . log (
303+ `The SSO session token associated with profile=${ profileName } was not found or is invalid. ${ REFRESH_MESSAGE } ` ,
304+ ) ;
301305 yield * Effect . fail (
302306 new ExpiredSSOToken ( {
303307 message : `The SSO session token associated with profile=${ profileName } was not found or is invalid. ${ REFRESH_MESSAGE } ` ,
You can’t perform that action at this time.
0 commit comments