aboutsummaryrefslogtreecommitdiff
path: root/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'server.go')
-rw-r--r--server.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/server.go b/server.go
index b1ac3a1..c4386d9 100644
--- a/server.go
+++ b/server.go
@@ -396,9 +396,9 @@ func New(e *echo.Echo, options *Options) (*Server, error) {
}
rdata := ErrorRenderData{
BaseRenderData: *NewBaseRenderData(ctx),
- Err: err,
- Code: code,
- Status: http.StatusText(code),
+ Err: err,
+ Code: code,
+ Status: http.StatusText(code),
}
if err := ctx.Render(code, "error.html", &rdata); err != nil {