aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/routes.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-11-19 10:09:05 -0500
committerDrew DeVault <sir@cmpwn.com>2020-11-19 10:09:05 -0500
commit199288045480856985e377f7475a1991a2decc33 (patch)
tree80517ad8577d391dd58c500e77c3694e19fd6ee2 /plugins/base/routes.go
parent5087e4b327732ba826bf6c839c06dcca1f8314f7 (diff)
downloadalps-199288045480856985e377f7475a1991a2decc33.tar.gz
alps-199288045480856985e377f7475a1991a2decc33.zip
Add theme-specific error page
Diffstat (limited to 'plugins/base/routes.go')
-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" {