Skip to content

Commit da72420

Browse files
authored
fix: error check
1 parent 260c5e5 commit da72420

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

binder/form.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ func (b *formBinding) Bind(reqCtx *fasthttp.RequestCtx, out any) error {
4040
}
4141
})
4242

43+
if err != nil {
44+
return err
45+
}
46+
4347
return parse(b.Name(), out, data)
4448
}
4549

0 commit comments

Comments
 (0)