Fix missing returned error
This commit is contained in:
parent
16a1beb491
commit
bc8d1cc112
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user