mirror of
https://github.com/datarhei/core.git
synced 2025-12-24 13:07:56 +08:00
Fix missing returned error
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user