diff --git a/server/controllers/view.js b/server/controllers/view.js index fb7729d0ac2..17cefa3ca7b 100644 --- a/server/controllers/view.js +++ b/server/controllers/view.js @@ -118,6 +118,12 @@ const renderViewErr = async (ctx, err) => { message: 'Unable to access the api server', }); } else { + await ctx.render('error', { + title: useDefaultTheme ? defaultTheme?.tabTitle : title, + favicon, + t: ctx.t.bind(ctx), + message: '', + }); ctx.app.emit('error', err); } } else {