diff --git a/field/binary.go b/field/binary.go index 7c9c3df..6d600c5 100644 --- a/field/binary.go +++ b/field/binary.go @@ -134,7 +134,7 @@ func (f *Binary) Unmarshal(v interface{}) error { val.SetBytes(f.value) default: - return fmt.Errorf("data does not match required reflect.Value type") + return fmt.Errorf("unsupported reflect.Value type: %s", val.Kind()) } case *string: str := hex.EncodeToString(f.value)