From b8844eab58b061d2fa6fb46630ce5f87c8c24311 Mon Sep 17 00:00:00 2001 From: "Randall C. O'Reilly" Date: Mon, 15 Jun 2026 13:24:49 +0200 Subject: [PATCH] structs: fix for crash on error in reflectx.Structs --- base/reflectx/structs.go | 1 + 1 file changed, 1 insertion(+) diff --git a/base/reflectx/structs.go b/base/reflectx/structs.go index c63239201c..775383df06 100644 --- a/base/reflectx/structs.go +++ b/base/reflectx/structs.go @@ -299,6 +299,7 @@ func SetFieldsFromMap(obj any, vals map[string]any) error { fld, err := FieldByPath(objv, k) if err != nil { errs = append(errs, err) + continue } err = SetRobust(PointerValue(fld).Interface(), v) if err != nil {