diff --git a/binder/form.go b/binder/form.go index 0b469086c7..f45407fe93 100644 --- a/binder/form.go +++ b/binder/form.go @@ -40,6 +40,10 @@ func (b *formBinding) Bind(reqCtx *fasthttp.RequestCtx, out any) error { } }) + if err != nil { + return err + } + return parse(b.Name(), out, data) }