diff options
author | Drew DeVault <sir@cmpwn.com> | 2020-11-19 10:09:05 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-11-19 10:09:05 -0500 |
commit | 199288045480856985e377f7475a1991a2decc33 (patch) | |
tree | 80517ad8577d391dd58c500e77c3694e19fd6ee2 /plugins/base | |
parent | 5087e4b327732ba826bf6c839c06dcca1f8314f7 (diff) | |
download | alps-199288045480856985e377f7475a1991a2decc33.tar.gz alps-199288045480856985e377f7475a1991a2decc33.zip |
Add theme-specific error page
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" { |