2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-28 04:56:04 +00:00
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
..
archiver replace all uses of target in relation to backup 2024-07-24 19:40:53 +02:00
backend Add more checks for canceled contexts 2024-07-31 19:30:47 +02:00
bloblru Fix typos 2024-07-03 20:02:06 +02:00
checker check: suggest using repair packs to repair truncated pack files 2024-07-05 20:04:25 +02:00
crypto crypto: cleanup ciphertext verification error 2024-06-05 22:33:20 +02:00
debug Fix review comments 2024-04-29 16:21:38 -06:00
dump dump: add GetOrCompute to bloblru cache 2024-05-05 11:38:42 +02:00
errors Add changelog and fix lint error 2024-02-24 13:47:49 -07:00
feature s3: forbid anonymous authentication unless explicitly requested 2024-07-10 20:10:27 +02:00
filter
fs fs: fix long path handling for ResetPermissions, ClearAttributes and security descriptors 2024-07-29 20:10:58 +02:00
fuse Add more checks for canceled contexts 2024-07-31 19:30:47 +02:00
migrations remove usages of repo.Backend() from tests 2024-05-18 21:42:51 +02:00
options
repository Merge pull request #4978 from konidev20/fix-gh-4949-repair-index-spurious-index 2024-08-03 18:53:57 +00:00
restic Merge pull request #4958 from mikix/restore-errors 2024-08-03 17:58:54 +00:00
restorer Merge pull request #4960 from MichaelEischer/reduce-cancelation-delays 2024-08-03 18:23:20 +02:00
selfupdate Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
test use consistent alias for interal/test package 2024-03-29 00:24:03 +01:00
textfile
ui backup: show actual error strings in --json mode 2024-08-03 15:07:52 -04:00
walker Add more checks for canceled contexts 2024-07-31 19:30:47 +02:00