diff --git a/gql_graph.go b/gql_graph.go index e8c3a23..043a6d7 100644 --- a/gql_graph.go +++ b/gql_graph.go @@ -24,7 +24,7 @@ func GQLInterfaceGraphNode() *graphql.Interface { node_type, ok := p.Context.Value("node_type").(reflect.Type) if ok == false { - ctx.Log.Logf("gql", "Failed to get node_type from Context") + ctx.Log.Logf("gql", "Failed to get node_type from Context: %+v", p.Context.Value("node_type")) return nil } @@ -83,7 +83,7 @@ func GQLInterfaceThread() *graphql.Interface { thread_type, ok := p.Context.Value("thread_type").(reflect.Type) if ok == false { - ctx.Log.Logf("gql", "Failed to get thread_type from Context") + ctx.Log.Logf("gql", "Failed to get thread_type from Context: %+v", p.Context.Value("thread_type")) return nil } @@ -153,7 +153,7 @@ func GQLInterfaceLockable() *graphql.Interface { lockable_type, ok := p.Context.Value("lockable_type").(reflect.Type) if ok == false { - ctx.Log.Logf("gql", "Failed to get lockable_type from Context") + ctx.Log.Logf("gql", "Failed to get lockable_type from Context: %+v", p.Context.Value("lockable_type")) return nil }