Fix missing returned error

This commit is contained in:
Ingo Oppermann 2025-12-16 22:03:59 +02:00
parent 16a1beb491
commit bc8d1cc112
No known key found for this signature in database
GPG Key ID: 2AB32426E9DD229E

View File

@ -314,7 +314,7 @@ func (s *server) play(remote net.Addr, u *url.URL) (*channel, string, string, er
}
if ch == nil {
s.log(identity, "PLAY", "NOTFOUND", playpath, "", remote)
return nil, identity, playpath, &PlayError{"NOTFOUND", identity, playpath, "", err}
}
return ch, identity, playpath, nil