Closed cimnine closed 3 years ago
LGTM
Just curious: how did you trigger the out of bounds in the snapshot parsing?
The go test
implementation doesn't seem to work on (my) Mac. Therefore no snapshots were ever created, hence no were found, hence the out of bounds error was triggered.
This PR changes the parsing logic for parsing the restic output. When some output can't be parsed as JSON, then it will still be written to the log, but it will not stop the processing of the output, as it did before.
As discussed in https://github.com/vshn/wrestic/issues/79#issuecomment-808104241