Skip to content

QuiltSync error page shows raw AWS SDK error chain instead of human-readable message #521

Description

@drernie

Problem

When an S3 operation fails, QuiltSync renders the full raw AWS SDK error chain directly in the UI. This includes internal Rust types (ServiceError, HeaderValue, SdkBody, escaped JSON strings, etc.) that are meaningless to end users.

The error message can be several kilobytes of noise that buries the actual failure reason.

Affected code

Cases to handle

Two known concrete cases are documented in comments on this issue.

Proposed fix

  • Extract just the AWS error code and message fields and surface those
  • Replace {0:?} debug formatting on Option<Host> with a human-readable equivalent (e.g. "no catalog" vs the host domain)
  • For InvalidAccessKeyId with host: None (local ~/.aws creds), show a specific message: "Your AWS credentials are invalid. Please update ~/.aws/credentials."

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions