diff --git a/api/stream/stream.go b/api/stream/stream.go index a43d2240..dd225fe5 100644 --- a/api/stream/stream.go +++ b/api/stream/stream.go @@ -129,6 +129,7 @@ func (a *API) register(client *client) { func (a *API) Handle(ctx *gin.Context) { conn, err := a.upgrader.Upgrade(ctx.Writer, ctx.Request, nil) if err != nil { + ctx.Error(err) return }