Skip to content

Commit

Permalink
Cleanup excess linebreak
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Shishkin <me@teran.dev>
  • Loading branch information
teran committed Sep 2, 2024
1 parent 3e4caa9 commit 541c3f7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion publisher/presenter/html/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 541c3f7

Please sign in to comment.