# ${subject!}

<#-- $This file is distributed under the terms of the license in LICENSE$ --> <#-- Template for email message sent to site administrator when an error occurs on the site. --> <#assign subject = "${i18n().error_occurred(siteName!)}" /> <#assign datetime = datetime?string("yyyy-MM-dd HH:mm:ss zzz")> <#assign html>

${i18n().error_occurred_at(siteName!,datetime!)}

${i18n().requested_url}: ${requestedUrl!}

<#if errorMessage?has_content> ${i18n().error_message}: ${errorMessage!}

${i18n().stack_trace} (${i18n().trace_available(siteName!)}):

    ${stackTrace!}

<#if cause?has_content>

${i18n().caused_by}:

    ${cause!}

<#assign text> ${i18n().error_occurred_at(siteName!,datetime!)} ${i18n().requested_url}: ${requestedUrl!} <#if errorMessage?has_content> ${i18n().error_message}: ${errorMessage!} ${i18n().stack_trace} (${i18n().trace_available(siteName!)}): ${stackTrace!} <#if cause?has_content> ${i18n().caused_by}: ${cause!} <@email subject=subject html=html text=text />