mirror of
https://github.com/octoleo/restic.git
synced 2025-02-02 11:58:26 +00:00
736e964317
A canceled background context lets the blob/tree/fileSavers exit without reporting an error. The error handling previously replaced a 'context canceled' error received by the main backup method with the error reported by the savers. However, in case of a canceled background context that error is nil, causing restic to loose the error and save a snapshot with a nil tree.