diff --git a/fs/sync/sync.go b/fs/sync/sync.go index be7152fd0..b2247a41f 100644 --- a/fs/sync/sync.go +++ b/fs/sync/sync.go @@ -164,6 +164,7 @@ func (s *syncCopyMove) processError(err error) { switch { case fserrors.IsFatalError(err): if !s.aborting() { + fs.Errorf(nil, "Cancelling sync due to fatal error: %v", err) s.cancel() } s.fatalErr = err