v0.0.293 fix NPE
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m52s
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m52s
This commit is contained in:
@@ -275,7 +275,7 @@ func (b *Builder) Any(key string, val any) *Builder {
|
||||
}
|
||||
|
||||
func (b *Builder) Stringer(key string, val fmt.Stringer) *Builder {
|
||||
if val == nil {
|
||||
if langext.IsNil(val) {
|
||||
return b.addMeta(key, MDTString, "(!nil)")
|
||||
} else {
|
||||
return b.addMeta(key, MDTString, val.String())
|
||||
|
Reference in New Issue
Block a user