Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Commit

Permalink
removing extraneous errors.WithStack call
Browse files Browse the repository at this point in the history
  • Loading branch information
lumost committed Jan 15, 2017
1 parent a786f2b commit 4e5b82e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion errors.go
Expand Up @@ -52,7 +52,6 @@ func defaultErrorHandler(status int, err error, c Context) error {
c.Response().Write([]byte(prodErrorTmpl))
return nil
}
err = errors.WithStack(err)
c.Logger().Error(err)
c.Response().WriteHeader(status)

Expand Down

0 comments on commit 4e5b82e

Please sign in to comment.