File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ const (
213213)
214214
215215const (
216- version = "3.2.1 "
216+ version = "3.2.3 "
217217 website = "https://echo.labstack.com"
218218 // http://patorjk.com/software/taag/#p=display&f=Small%20Slant&t=Echo
219219 banner = `
Original file line number Diff line number Diff line change 3030)
3131
3232var (
33- // DefaultBodyLimitConfig is the default Gzip middleware config.
33+ // DefaultBodyLimitConfig is the default BodyLimit middleware config.
3434 DefaultBodyLimitConfig = BodyLimitConfig {
3535 Skipper : DefaultSkipper ,
3636 }
Original file line number Diff line number Diff line change @@ -57,14 +57,13 @@ func RecoverWithConfig(config RecoverConfig) echo.MiddlewareFunc {
5757 }
5858
5959 return func (next echo.HandlerFunc ) echo.HandlerFunc {
60- return func (c echo.Context ) error {
60+ return func (c echo.Context ) ( err error ) {
6161 if config .Skipper (c ) {
6262 return next (c )
6363 }
6464
6565 defer func () {
6666 if r := recover (); r != nil {
67- var err error
6867 switch r := r .(type ) {
6968 case error :
7069 err = r
You can’t perform that action at this time.
0 commit comments