Add errors output to streams API

This commit is contained in:
Alex X
2025-11-16 18:20:53 +03:00
parent 1fe602679e
commit ac80f1470e
8 changed files with 33 additions and 28 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ import (
)
func handlerWSHLS(tr *ws.Transport, msg *ws.Message) error {
stream := streams.GetOrPatch(tr.Request.URL.Query())
stream, _ := streams.GetOrPatch(tr.Request.URL.Query())
if stream == nil {
return errors.New(api.StreamNotFound)
}