up 2022-11-23

This commit is contained in:
hktalent 2022-11-23 21:23:27 +08:00 committed by Bo-Yi Wu
parent 0fd88d12be
commit 83036d4628
No known key found for this signature in database

View File

@ -152,7 +152,9 @@ func (c *Context) HandlerName() string {
func (c *Context) HandlerNames() []string {
hn := make([]string, 0, len(c.handlers))
for _, val := range c.handlers {
hn = append(hn, nameOfFunction(val))
if nil != val {
hn = append(hn, nameOfFunction(val))
}
}
return hn
}