2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-27 04:32:40 +00:00
restic/internal/ui
Michael Terry ad2585af67 backup: show actual error strings in --json mode
Previously, an error JSON fragment would look like:
{"message_type": "error", "error": {}}

This is because encoding/json cannot marshal an error interface.
Instead, we now call .Error() to get the string value.
2024-08-03 15:07:52 -04:00
..
backup backup: show actual error strings in --json mode 2024-08-03 15:07:52 -04:00
progress ui/progress: add helper to print messages during tests 2024-04-14 13:45:08 +02:00
restore restorer: only show size in text output for files 2024-07-20 12:46:28 +02:00
signals add go:build headers everywhere 2022-03-28 22:23:47 +02:00
table ui/table: avoid duplicate table cell width calculation 2024-06-07 21:45:40 +02:00
termstatus ui/termstatus: fix clearing status lines 2024-07-06 11:27:35 +02:00
format_test.go Use character display width for table padding 2024-06-05 09:33:15 +02:00
format.go Use character display width for table padding 2024-06-05 09:33:15 +02:00
message.go termstatus: Do formatting in Message, not Terminal 2024-05-27 19:05:39 +02:00