From cfdd2094407e61f371c02117c8c66916a6d1d807 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Thu, 5 Nov 2020 19:45:41 +0100 Subject: Display error details even with dev.debug set to false It makes more sense to display the error even if it's unexpected. Only for logged in users. Fixes #1606 --- tpl/default/error.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tpl/default/error.html') diff --git a/tpl/default/error.html b/tpl/default/error.html index c3e0c3c1..34f9707d 100644 --- a/tpl/default/error.html +++ b/tpl/default/error.html @@ -9,13 +9,17 @@

{$message}

+ + + {if="!empty($text)"} +

{$text}

+ {/if} + {if="!empty($stacktrace)"}
         {$stacktrace}
       
{/if} - -
{include="page.footer"} -- cgit v1.2.3