From 85794933d3e11253ff180f47116e38c3b54fc4be Mon Sep 17 00:00:00 2001 From: Simon Frei Date: Tue, 23 Jun 2020 07:30:16 +0200 Subject: [PATCH] lib/model: Remove double error handling in performFinish (#6780) --- lib/model/folder_sendrecv.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/model/folder_sendrecv.go b/lib/model/folder_sendrecv.go index 9820fca06..cfb7a83b5 100644 --- a/lib/model/folder_sendrecv.go +++ b/lib/model/folder_sendrecv.go @@ -1518,8 +1518,6 @@ func (f *sendReceiveFolder) performFinish(file, curFile protocol.FileInfo, hasCu // handle that. if err := f.scanIfItemChanged(file.Name, stat, curFile, hasCurFile, scanChan); err != nil { - err = errors.Wrap(err, "handling file") - f.newPullError(file.Name, err) return err }