2
0

Add the type of the value in all decode error messages

This commit is contained in:
Damir Vandic
2018-06-04 21:02:20 +02:00
parent 8707449219
commit fa045b7a4b
33 changed files with 34 additions and 34 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ func (src *EnumArray) 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)
}
func (dst *EnumArray) DecodeText(ci *ConnInfo, src []byte) error {