mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-08 22:31:04 +00:00
Don't panic for legitimate file errors (fixes #55)
This commit is contained in:
parent
e6b29988e5
commit
14b3791b2b
@ -184,7 +184,8 @@ func (q *FileQueue) Done(file string, offset int64, data []byte) {
|
||||
return
|
||||
}
|
||||
}
|
||||
panic("unreachable")
|
||||
|
||||
// We found nothing, might have errored out already
|
||||
}
|
||||
|
||||
func (q *FileQueue) QueuedFiles() (files []string) {
|
||||
|
Loading…
Reference in New Issue
Block a user