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