Form: Improve serialize warning log message #1814

This commit is contained in:
Michael Mayer 2021-12-15 12:39:02 +01:00
parent 2dedbb83dc
commit d6e2537b33

View file

@ -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))
}
}
}