Add the type of the value in all decode error messages
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ func (src *Bytea) AssignTo(dst interface{}) error {
|
||||
return NullAssignTo(dst)
|
||||
}
|
||||
|
||||
return errors.Errorf("cannot decode %v into %T", src, dst)
|
||||
return errors.Errorf("cannot decode %#v into %T", src, dst)
|
||||
}
|
||||
|
||||
// DecodeText only supports the hex format. This has been the default since
|
||||
|
||||
Reference in New Issue
Block a user