2
2
mirror of https://github.com/octoleo/restic.git synced 2025-02-10 23:58:28 +00:00
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
..
2023-06-08 20:24:21 +02:00
2023-06-08 20:24:21 +02:00