2
2
mirror of https://github.com/octoleo/restic.git synced 2025-01-03 23:27:24 +00:00
restic/internal/ui/backup
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
..
json.go backup: show actual error strings in --json mode 2024-08-03 15:07:52 -04:00
progress_test.go archiver: refactor summary collection from ui into the archiver 2024-02-23 20:27:13 +01:00
progress.go archiver: refactor summary collection from ui into the archiver 2024-02-23 20:27:13 +01:00
rate_estimator_test.go Address review comments 2023-06-08 20:24:21 +02:00
rate_estimator.go Address review comments 2023-06-08 20:24:21 +02:00
text.go backup: print scanner errors to stderr, not stdout 2024-08-03 15:07:52 -04:00