Skip to content

Node.js based forum software built for the modern web

404 now properly reads error messages

psychobunny3c97829e8507
diff --git a/src/views/404.tpl b/src/views/404.tpl
index 95cd1b9383..2c2e4a89e9 100644
--- a/src/views/404.tpl
+++ b/src/views/404.tpl
@@ -1,4 +1,8 @@
<div class="alert alert-danger">
<strong>[[global:404.title]]</strong>
+ <!-- IF error -->
+ <p>{error}</p>
+ <!-- ELSE -->
<p>[[global:404.message]]</p>
+ <!-- ENDIF error -->
</div>
\ No newline at end of file