Don't panic for legitimate file errors (fixes #55)

This commit is contained in:
Jakob Borg 2014-02-09 22:41:30 +01:00
parent e6b29988e5
commit 14b3791b2b

View File

@ -184,7 +184,8 @@ func (q *FileQueue) Done(file string, offset int64, data []byte) {
return return
} }
} }
panic("unreachable")
// We found nothing, might have errored out already
} }
func (q *FileQueue) QueuedFiles() (files []string) { func (q *FileQueue) QueuedFiles() (files []string) {