Skip to content

Commit 4316bbf

Browse files
netramalictrombley
andauthored
Update request.go
Co-authored-by: Chris Trombley <[email protected]>
1 parent 7fa2459 commit 4316bbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

request.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ func unmarshalNode(data *Node, model reflect.Value, included *map[string]*Node)
493493
// this indicates disassociating the relationship
494494
isExplicitNull = true
495495
} else if relationshipDecodeErr != nil {
496-
er = fmt.Errorf("decode err %v\n", relationshipDecodeErr)
496+
er = fmt.Errorf("Could not unmarshal json: %w", relationshipDecodeErr)
497497
}
498498

499499
// This will hold either the value of the choice type model or the actual

0 commit comments

Comments
 (0)