mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 17:51:21 +00:00
reduce log level for absent pipe
since we can get this when a pipe has been closed normally
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user