From 5b052104f357ec30b47ab70ceeb6f6544dce3b68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Fri, 2 Feb 2018 14:37:46 +0100 Subject: [PATCH] fix(errors): add hint to 500 errors and fix bullet points --- views/error.pug | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/views/error.pug b/views/error.pug index 31790cb..e3cd3b2 100644 --- a/views/error.pug +++ b/views/error.pug @@ -18,9 +18,11 @@ block content when 401 li #{translate('verifyCredentialsErrorLabel', currentLocale.code)} li #{translate('localeContentErrorLabel', currentLocale.code)} + when 500 + li #{translate('contentModelChangedErrorLabel', currentLocale.code)} - if error.stack - li #{translate('stackTraceErrorLabel', currentLocale.code)} + if error.stack + li #{translate('stackTraceErrorLabel', currentLocale.code)} if error.response h2 #{translate('errorLabel', currentLocale.code)} pre.error__stack-trace