mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
- default status templates now include Alfresco server information & time of error for diagnostic purposes - template url.match does not include service context anymore e.g. /alfresco/service/api/path/ is now just /api/path/ - added Retrying Transaction Helper to Service Registry git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6088 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
33 lines
994 B
Plaintext
33 lines
994 B
Plaintext
<?xml version="1.0" encoding="UTF-8"?>
|
|
<response>
|
|
<status>
|
|
<code>${status.code}</code>
|
|
<name>${status.codeName}</name>
|
|
<description>${status.codeDescription}</description>
|
|
</status>
|
|
<message>${status.message!""}</message>
|
|
<exception><#if status.exception?exists>${status.exception.class.name}<#if status.exception.message?exists> - ${status.exception.message}</#if></#if></exception>
|
|
<callstack>
|
|
<#if status.exception?exists>
|
|
<@recursestack status.exception/>
|
|
</#if>
|
|
</callstack>
|
|
<server>Alfresco ${server.edition} v${server.version} schema ${server.schema}</server>
|
|
<time>${date?datetime}</time>
|
|
</response>
|
|
|
|
<#macro recursestack exception>
|
|
<#if exception.cause?exists>
|
|
<@recursestack exception=exception.cause/>
|
|
</#if>
|
|
<#if exception.cause?exists == false>
|
|
${exception}
|
|
<#list exception.stackTrace as element>
|
|
${element}
|
|
</#list>
|
|
<#else>
|
|
${exception}
|
|
${exception.stackTrace[0]}
|
|
</#if>
|
|
</#macro>
|