Skip to content

Restore errors with --json are not printed as JSON #4944

@mikix

Description

@mikix

Output of restic version

restic 0.16.4 compiled with go1.22.2 on linux/amd64

What should restic do differently? Which functionality do you think we should add?

When running restore --json, errors get printed as normal "for human" text rather than JSON (like backup --json has).

I am working on a patch - this issue is mostly for record keeping.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions