diff options
Diffstat (limited to 'plugins/base')
-rw-r--r-- | plugins/base/routes.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/routes.go b/plugins/base/routes.go index 8698a3a..2107abb 100644 --- a/plugins/base/routes.go +++ b/plugins/base/routes.go @@ -118,7 +118,7 @@ func newIMAPBaseRenderData(ctx *alps.Context, } if mboxName != "" { if active, err = getMailboxStatus(c, mboxName); err != nil { - return err + return echo.NewHTTPError(http.StatusNotFound, err) } } if mboxName == "INBOX" { |