1
0
mirror of https://github.com/restic/restic.git synced 2024-06-25 07:47:44 +02:00

Merge pull request #1243 from restic/improve-error-reporting

Improve error reporting
This commit is contained in:
Alexander Neumann 2017-09-16 14:54:30 +02:00
commit ce180de9b8

View File

@ -162,6 +162,7 @@ func (arch *Archiver) saveChunk(ctx context.Context, chunk chunker.Chunk, p *res
// TODO handle error
if err != nil {
debug.Log("Save(%v) failed: %v", id.Str(), err)
fmt.Printf("\nerror while saving data to the repo: %+v\n", err)
panic(err)
}