mirror of
https://github.com/livepeer/lpms
synced 2025-09-26 19:51:36 +08:00
Fixed typo in vidplayer logging (#390)
This commit is contained in:
@@ -176,7 +176,7 @@ func handleLive(w http.ResponseWriter, r *http.Request,
|
||||
w.Header().Set("Content-Length", strconv.Itoa(len(seg)))
|
||||
_, err = w.Write(seg)
|
||||
if err != nil {
|
||||
glog.Errorf("Error writting response %v: %v", r.URL, err)
|
||||
glog.Errorf("Error writing response %v: %v", r.URL, err)
|
||||
if err == ErrNotFound {
|
||||
http.Error(w, "ErrNotFound", 404)
|
||||
} else if err == ErrTimeout {
|
||||
@@ -184,7 +184,7 @@ func handleLive(w http.ResponseWriter, r *http.Request,
|
||||
} else if err == ErrBadRequest {
|
||||
http.Error(w, "ErrBadRequest", 400)
|
||||
} else {
|
||||
http.Error(w, "Error writting segment", 500)
|
||||
http.Error(w, "Error writing segment", 500)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user