We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 051a968 commit 696252bCopy full SHA for 696252b
src/main/resources/site/error/error.html
@@ -13,6 +13,7 @@
13
<main>
14
<h1 th:text="'Error: ' + ${errorCode} ">Error</h1>
15
<p>Please try again later, or contact site administrator</p>
16
+ <pre th:text="${message}">Error message</pre>
17
</main>
18
</body>
19
src/main/resources/site/error/error.js
@@ -12,7 +12,8 @@ exports.handleError = function (err) {
12
}
var model = {
- errorCode: err.status
+ errorCode: err.status,
+ message: err.message
};
var body = thymeleaf.render(view, model);
0 commit comments