Form: Improve serialize warning log message #1814
This commit is contained in:
parent
2dedbb83dc
commit
d6e2537b33
|
@ -70,7 +70,7 @@ func Serialize(f interface{}, all bool) string {
|
|||
q = append(q, fmt.Sprintf("%s:%t", fieldName, fieldValue.Bool()))
|
||||
}
|
||||
default:
|
||||
log.Warnf("form: can't serialize value of type %s in %s", t, sanitize.Token(fieldName))
|
||||
log.Warnf("form: failed serializing %T %s", t, sanitize.Token(fieldName))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue