Skip to content

Commit 7dcf5db

Browse files
fix(aibridge): clarify Bedrock credential resolution error
1 parent 0d6cb16 commit 7dcf5db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎aibridge/intercept/messages/base.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ func (i *interceptionBase) withAWSBedrockOptions(ctx context.Context) ([]option.
295295
// the shared cache on most requests (no network); on the cold or refresh
296296
// path this performs the actual STS/IMDS call.
297297
if _, err := i.bedrock.Creds.Retrieve(ctx); err != nil {
298-
return nil, xerrors.Errorf("no AWS credentials found: %w", err)
298+
return nil, xerrors.Errorf("resolve AWS credentials: %w", err)
299299
}
300300

301301
// Fall back to the SDK-resolved region (e.g. from AWS_REGION) when no

0 commit comments

Comments
 (0)