Added logging to gql process

gql_cataclysm
noah metz 2023-07-31 16:32:57 -06:00
parent 0313d6a33f
commit 771bf53356
1 changed files with 1 additions and 0 deletions

@ -1019,6 +1019,7 @@ func (ext *GQLExt) Process(ctx *Context, source NodeID, node *Node, signal Signa
ctx.Log.Logf("gql", "unknown gql state %s", sig.Str) ctx.Log.Logf("gql", "unknown gql state %s", sig.Str)
} }
} else if signal.Type() == StartSignalType { } else if signal.Type() == StartSignalType {
ctx.Log.Logf("gql", "starting with state: %s", ext.State)
switch ext.State { switch ext.State {
case "running": case "running":
err := ext.StartGQLServer(ctx, node) err := ext.StartGQLServer(ctx, node)