reduce log level for absent pipe

since we can get this when a pipe has been closed normally
This commit is contained in:
Matthias Radestock
2016-08-05 23:47:35 +01:00
parent df467d80de
commit c3315f9c99

View File

@@ -52,7 +52,8 @@ func handlePipeWs(pr PipeRouter, end End) CtxHandlerFunc {
id := mux.Vars(r)["pipeID"]
pipe, endIO, err := pr.Get(ctx, id, end)
if err != nil {
log.Errorf("Error getting pipe %s: %v", id, err)
// this usually means the pipe has been closed
log.Debugf("Error getting pipe %s: %v", id, err)
http.NotFound(w, r)
return
}