Skip to content

Commit 6975721

Browse files
committed
Add more details to server error view
1 parent 723e3f7 commit 6975721

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/resources/templates/error.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ <h2 th:utext="#{screen.unavailable.heading}"></h2>
3030
<section id="errorInfo" class="pre-formatted-small word-break-all">
3131
<pre id="initiatorUrl"></pre>
3232
<pre th:utext="${'Error: ' + status + ' - ' + error}"></pre>
33-
<pre th:utext="${'Timestamp: ' + #dates.formatISO(#dates.createNow())}"></pre>
3433
<pre th:text="${'Message: ' + message}"></pre>
34+
<pre th:if="${service}" th:text="${'Service: ' + service}"></pre>
35+
<pre th:utext="${'Timestamp: ' + #dates.formatISO(#dates.createNow())}"></pre>
3536
</section>
3637
<section class="form-button" th:with="loginUrl=@{${@casServerLoginUrl}(casRedirectSource=cas)}">
3738
<a class="mdc-button mdc-button--raised button-osf-blue" th:href="@{/logout(service=${loginUrl})}">

0 commit comments

Comments
 (0)