From f44752d9886959b2d5ec0f6539b3ce2bb07b1e6f Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Mon, 3 Jul 2023 19:13:29 -0600 Subject: [PATCH] GQLWS Logging --- gql.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gql.go b/gql.go index eff2fe1..8afd80d 100644 --- a/gql.go +++ b/gql.go @@ -271,6 +271,11 @@ func GQLWSHandler(ctx * GraphContext, server * GQLThread) func(http.ResponseWrit } res_chan := GQLWSDo(ctx, params) + if res_chan == nil { + ctx.Log.Logf("gqlws", "res_chan is nil") + } else { + ctx.Log.Logf("gqlws", "res_chan: %+v", res_chan) + } go func(res_chan chan *graphql.Result) { for {