Skip to content

Commit

Permalink
Undo change of log.Println -> fmt.Println
Browse files Browse the repository at this point in the history
Totally accidental, sorry!
  • Loading branch information
johnmaguire committed Oct 27, 2021
1 parent d1aa3d8 commit 0b5941c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion codegen/field.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"errors"
"fmt"
"go/types"
"log"
"reflect"
"strconv"
"strings"
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit 0b5941c

Please sign in to comment.