restic/internal
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
..
2024-07-03 20:02:06 +02:00
2024-04-29 16:21:38 -06:00
2024-02-24 13:47:49 -07:00