]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tpl/default/error.html
Display error details even with dev.debug set to false
[github/shaarli/Shaarli.git] / tpl / default / error.html
index c3e0c3c1db3f914475fbf0d59fa6a3e349f684c1..34f9707dd2db00f589912bb0bc50210526ab3a59 100644 (file)
@@ -9,13 +9,17 @@
 <div id="pageError" class="page-error-container center">
   <h2>{$message}</h2>
 
+  <img src="{$asset_path}/img/sad_star.png#" alt="">
+
+  {if="!empty($text)"}
+  <p>{$text}</p>
+  {/if}
+
   {if="!empty($stacktrace)"}
       <pre>
         {$stacktrace}
       </pre>
   {/if}
-
-  <img src="{$asset_path}/img/sad_star.png#" alt="">
 </div>
 {include="page.footer"}
 </body>