Explorar el Código

Merge pull request #1967 from calmh/woops

Incorrect error condition on shortcuts
Audrius Butkevicius hace 10 años
padre
commit
69af77a3bd
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      internal/model/rwfolder.go

+ 2 - 0
internal/model/rwfolder.go

@@ -865,6 +865,8 @@ func (p *rwFolder) handleFile(file protocol.FileInfo, copyChan chan<- copyBlocks
 		})
 
 		if err != nil {
+			l.Infoln("Puller: shortcut:", err)
+		} else {
 			p.dbUpdates <- dbUpdateJob{file, dbUpdateShortcutFile}
 		}