mirror of
https://github.com/octoleo/restic.git
synced 2024-11-27 15:26:37 +00:00
a376323331
Previously, they were printed as freeform text. This also adds a ui.Terminal interface to make writing tests easier and also adds a few tests.
9 lines
335 B
Plaintext
9 lines
335 B
Plaintext
Enhancement: Print JSON-formatted errors during `restore --json`
|
|
|
|
Restic printed any restore errors directly to the console as freeform
|
|
text messages, even with `--json`. Restic now prints them as JSON formatted
|
|
messages when `--json` is passed.
|
|
|
|
https://github.com/restic/restic/issues/4944
|
|
https://github.com/restic/restic/pull/4946
|