Skip to content

Commit bc8d1cc

Browse files
committed
Fix missing returned error
1 parent 16a1beb commit bc8d1cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rtmp/rtmp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ func (s *server) play(remote net.Addr, u *url.URL) (*channel, string, string, er
314314
}
315315

316316
if ch == nil {
317-
s.log(identity, "PLAY", "NOTFOUND", playpath, "", remote)
317+
return nil, identity, playpath, &PlayError{"NOTFOUND", identity, playpath, "", err}
318318
}
319319

320320
return ch, identity, playpath, nil

0 commit comments

Comments
 (0)