aboutsummaryrefslogtreecommitdiff
path: root/pkg/handler/quote.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/handler/quote.go')
-rw-r--r--pkg/handler/quote.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/handler/quote.go b/pkg/handler/quote.go
index af9fd82..2a5f7e6 100644
--- a/pkg/handler/quote.go
+++ b/pkg/handler/quote.go
@@ -12,7 +12,7 @@ func (h *Handler) Quote(c echo.Context) error {
sid := c.Param("id")
id, err := strconv.Atoi(sid)
if err != nil {
- return err
+ return echo.ErrNotFound
}
quote := new(model.Quote)