Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
yinheli committed Jul 23, 2021
1 parent 8340905 commit bf7e5ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/echox/dump.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func Dump(filename ...string) echo.MiddlewareFunc {
l = logger.For(c.Request().Context())
}

requestId := c.Response().Header().Get(echo.HeaderXRequestID),
requestId := c.Response().Header().Get(echo.HeaderXRequestID)

req, _ := httputil.DumpRequest(c.Request(), true)
start := time.Now()
Expand All @@ -54,7 +54,7 @@ func Dump(filename ...string) echo.MiddlewareFunc {
err := next(c)

if err != nil {
l.Error(requestId, zap.Error(err))
l.Error(requestId, zap.Error(err))
return err
}

Expand Down

0 comments on commit bf7e5ec

Please sign in to comment.