aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-11-06 10:00:03 +0100
committerGitHub <noreply@github.com>2020-11-06 10:00:03 +0100
commit8c5f6c786d00310b2e863aa316927effb7bfeedb (patch)
tree5f3083c9b8d7078dbb1e9986db4fb7f6f8b6266b /tpl
parent48df9f45b8c4b2995c1e04146071628668531b37 (diff)
parentcfdd2094407e61f371c02117c8c66916a6d1d807 (diff)
downloadShaarli-8c5f6c786d00310b2e863aa316927effb7bfeedb.tar.gz
Shaarli-8c5f6c786d00310b2e863aa316927effb7bfeedb.tar.zst
Shaarli-8c5f6c786d00310b2e863aa316927effb7bfeedb.zip
Merge pull request #1627 from ArthurHoaro/fix/unexpected-error
Display error details even with dev.debug set to false
Diffstat (limited to 'tpl')
-rw-r--r--tpl/default/error.html8
1 files changed, 6 insertions, 2 deletions
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 @@
9<div id="pageError" class="page-error-container center"> 9<div id="pageError" class="page-error-container center">
10 <h2>{$message}</h2> 10 <h2>{$message}</h2>
11 11
12 <img src="{$asset_path}/img/sad_star.png#" alt="">
13
14 {if="!empty($text)"}
15 <p>{$text}</p>
16 {/if}
17
12 {if="!empty($stacktrace)"} 18 {if="!empty($stacktrace)"}
13 <pre> 19 <pre>
14 {$stacktrace} 20 {$stacktrace}
15 </pre> 21 </pre>
16 {/if} 22 {/if}
17
18 <img src="{$asset_path}/img/sad_star.png#" alt="">
19</div> 23</div>
20{include="page.footer"} 24{include="page.footer"}
21</body> 25</body>