Skip to content
Snippets Groups Projects
Commit f44a6e90 authored by Andreas Schärtl's avatar Andreas Schärtl
Browse files

hint to the log messages on error

parent 301cb24d
No related branches found
No related tags found
No related merge requests found
...@@ -17,6 +17,8 @@ public class Errors { ...@@ -17,6 +17,8 @@ public class Errors {
/** /**
* Singleton instance of the Freemarker engine for use with errors. * Singleton instance of the Freemarker engine for use with errors.
* Used in {@link Errors#createError}. * Used in {@link Errors#createError}.
*
* This object is not safe for concurrent use by multiple threads.
*/ */
private static final FreeMarkerEngine freemarker = new FreeMarkerEngine(); private static final FreeMarkerEngine freemarker = new FreeMarkerEngine();
......
...@@ -7,6 +7,11 @@ ...@@ -7,6 +7,11 @@
<#macro page_main> <#macro page_main>
<h2>Error ${http_status}: ${http_description}</h2> <h2>Error ${http_status}: ${http_description}</h2>
<p>
If you are the administrator of this instance, consider looking at the log
output.
</p>
<#if message?has_content> <#if message?has_content>
<code> <code>
${exception_message} ${exception_message}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment