Remove (almost) all the panics

This commit is contained in:
2024-03-16 21:14:46 +10:30
parent 3dec93c4f4
commit d9a979b782
4 changed files with 55 additions and 17 deletions

View File

@@ -429,8 +429,6 @@ func (dl *Download) updateMetadata(s string) {
p, err := strconv.ParseFloat(matches[1], 32)
if err == nil {
dl.Percent = float32(p)
} else {
panic(err)
}
}