Skip to content

cosmetic: pin errors print their message twice through the error chain #7

Description

@avrabe

Found by the v0.1.0 pre-tag clean-room verification: PinError::Layer's Display includes its source message, and the CLI's {err:#} (anyhow alternate) appends the chain again, so e.g. the two-part-layer guidance appears twice. Cosmetic, does not affect exit codes or fail-closed behavior. Fix: drop the source from the variant Display (thiserror #[source] already chains it) or print without :#.

🤖 Found during release-execution for v0.1.0.

Metadata

Metadata

Assignees

No one assigned

    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