From 0b5941ce0992d54e3a8203033b2c1523a0fa50af Mon Sep 17 00:00:00 2001 From: John Maguire Date: Tue, 26 Oct 2021 20:21:22 -0400 Subject: [PATCH] Undo change of log.Println -> fmt.Println Totally accidental, sorry! --- codegen/field.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/codegen/field.go b/codegen/field.go index bf44fb17d16..44ed863157f 100644 --- a/codegen/field.go +++ b/codegen/field.go @@ -4,6 +4,7 @@ import ( "errors" "fmt" "go/types" + "log" "reflect" "strconv" "strings" @@ -67,7 +68,7 @@ func (b *builder) buildField(obj *Object, field *ast.FieldDefinition) (*Field, e if errors.Is(err, config.ErrTypeNotFound) { return nil, err } - fmt.Println(err) + log.Println(err.Error()) } if f.IsResolver && !f.TypeReference.IsPtr() && f.TypeReference.IsStruct() {