✏ update msg

This commit is contained in:
Fenny 2020-12-06 16:39:32 +01:00
parent 0fe30ac722
commit 9e87cb7c17

View File

@ -180,7 +180,7 @@ func buildDecEngine(rt reflect.Type, engPtr *decEng) {
et, has := name2type[name]
if !has {
//panic("unknown typ:" + name)
fmt.Println("[session] Use the `RegisterType` option to decode this value.")
fmt.Println("[session] Register this type first with the `RegisterType` method.")
}
v := reflect.NewAt(rt, p).Elem()
var ev reflect.Value