From 541c3f7242d31ca0faf7ab54427b5a254c00d9df Mon Sep 17 00:00:00 2001 From: Igor Shishkin Date: Mon, 2 Sep 2024 18:41:19 +0300 Subject: [PATCH] Cleanup excess linebreak Signed-off-by: Igor Shishkin --- publisher/presenter/html/handlers.go | 1 - 1 file changed, 1 deletion(-) diff --git a/publisher/presenter/html/handlers.go b/publisher/presenter/html/handlers.go index a850134..8ddbea9 100644 --- a/publisher/presenter/html/handlers.go +++ b/publisher/presenter/html/handlers.go @@ -246,7 +246,6 @@ func (h *handlers) ErrorHandler(err error, c echo.Context) { v, ok := err.(*echo.HTTPError) if ok { code = v.Code - if v.Code == http.StatusNotFound { code = http.StatusNotFound templateFilename = notFoundTemplateFilename