Skip to content

Commit f184193

Browse files
committed
fix(middlewares): fixed panic overflow
1 parent 2e83c47 commit f184193

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

middleware/recover.go

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ func RecoverWith(handler http.Handler, handle func(value any) error) http.Handle
5353
akumu.
5454
Failed(handle(err)).
5555
Handle(writer, request)
56+
57+
return
5658
}
5759
}()
5860

0 commit comments

Comments
 (0)