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
In aws/aws-sdk-js-v3#2408, @aws-sdk/credential-provider-node changed its behavior in the case where no AWS credentials are resolved. Prior to that change, it would throw the last error it encountered in the chain; after that change, it throws a generic CredentialsProviderError: Could not load credentials from any providers error.
When we upgraded @aws-sdk/credential-provider-node in #18, we opted in to that behavior. Prior to that upgrade, we re-threw the error from the last provider, which may (or may not) have been helpful to the user; after that upgrade, we re-throw the generic message from the AWS SDK, with no indication that the error came from this plugin.
One possible solution: we could catch the generic CredentialsProviderError and re-throw a more helpful error to let the user know that the error is happening inside this plugin. Or, more generically, we could namespace all errors thrown inside this plugin to make it clear where the error is coming from, since Yarn does not do that, automatically.
The text was updated successfully, but these errors were encountered:
In aws/aws-sdk-js-v3#2408,
@aws-sdk/credential-provider-node
changed its behavior in the case where no AWS credentials are resolved. Prior to that change, it would throw the last error it encountered in the chain; after that change, it throws a genericCredentialsProviderError: Could not load credentials from any providers
error.When we upgraded
@aws-sdk/credential-provider-node
in #18, we opted in to that behavior. Prior to that upgrade, we re-threw the error from the last provider, which may (or may not) have been helpful to the user; after that upgrade, we re-throw the generic message from the AWS SDK, with no indication that the error came from this plugin.One possible solution: we could catch the generic
CredentialsProviderError
and re-throw a more helpful error to let the user know that the error is happening inside this plugin. Or, more generically, we could namespace all errors thrown inside this plugin to make it clear where the error is coming from, since Yarn does not do that, automatically.The text was updated successfully, but these errors were encountered: