aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/base/routes.go2
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" {