mirror of
https://github.com/restic/restic.git
synced 2026-02-03 12:29:37 -05:00
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.
|
||
|---|---|---|
| .. | ||
| backup | ||
| progress | ||
| restore | ||
| signals | ||
| table | ||
| termstatus | ||
| format.go | ||
| format_test.go | ||
| message.go | ||