File tree Expand file tree Collapse file tree
src/main/resources/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 < h2 th:utext ="#{screen.service.error.heading} "> </ h2 >
2828 < p th:if ="${rootCauseException != null and rootCauseException.code != null} " th:utext ="#{${rootCauseException.code}} "> </ p >
2929 </ section >
30+ < section id ="errorInfo " class ="pre-formatted-small word-break-all ">
31+ < pre id ="initiatorUrl "> </ pre >
32+ < pre th:if ="${rootCauseException} " th:text ="${'Error: ' + rootCauseException.getClass().getSimpleName()} "> </ pre >
33+ < pre th:if ="${rootCauseException} " th:text ="${'Message: ' + rootCauseException.getMessage()} "> </ pre >
34+ < pre th:if ="${service} " th:text ="${'Service: ' + service} "> </ pre >
35+ < pre th:utext ="${'Timestamp: ' + #dates.formatISO(#dates.createNow())} "> </ pre >
36+ </ section >
3037 < section class ="form-button " th:with ="loginUrl=@{${@casServerLoginUrl}(casRedirectSource=cas)} ">
3138 < a class ="mdc-button mdc-button--raised button-osf-blue " th:href ="@{/logout(service=${loginUrl})} ">
3239 < span class ="mdc-button__label " th:utext ="#{screen.error.page.loginagain} "> </ span >
@@ -41,6 +48,7 @@ <h2 th:utext="#{screen.service.error.heading}"></h2>
4148
4249 < script type ="text/javascript ">
4350 disableSignUpButton ( ) ;
51+ document . getElementById ( "initiatorUrl" ) . innerHTML = "Request URL: " + window . location . href ;
4452 </ script >
4553
4654 </ div >
You can’t perform that action at this time.
0 commit comments