lib/model: Remove incorrect/useless panics (#5881)

This commit is contained in:
Simon Frei
2019-07-23 10:51:16 +02:00
committed by GitHub
parent 7b3d9a8dca
commit 6f08162376
2 changed files with 3 additions and 5 deletions

View File

@@ -68,7 +68,7 @@ func (f *sendOnlyFolder) pull() bool {
curFile, ok := f.fset.Get(protocol.LocalDeviceID, intf.FileName())
if !ok {
if intf.IsDeleted() {
panic("Should never get a deleted file as needed when we don't have it")
l.Debugln("Should never get a deleted file as needed when we don't have it")
}
return true
}