Skip to content

Improve errors related to object storage authentication. #52

@trueleo

Description

@trueleo

New error variant on ObjectStorageError is needed to correctly display authentication failure and let users know if credentials provided are wrong.

Currently on authentication failure, ObjectStorage::check returns Unhandled Error: Error. This method for S3 is implemented by call to head_bucket which returns aws_sdk_s3::types::SdkError<HeadBucketError> but is mapped to unhandled error variant.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions