From 5c33c6e5b219fb4b0942f456e4571a480a95409c Mon Sep 17 00:00:00 2001 From: Ben Roberts Date: Thu, 29 Dec 2011 17:16:29 +0000 Subject: [PATCH] Tidy the unhandled exception error page --- .../templates/errors/unhandled-exception.tpl | 78 +++++++++++-------- 1 file changed, 47 insertions(+), 31 deletions(-) diff --git a/source/webui/templates/errors/unhandled-exception.tpl b/source/webui/templates/errors/unhandled-exception.tpl index 58ce7f6..65309f5 100644 --- a/source/webui/templates/errors/unhandled-exception.tpl +++ b/source/webui/templates/errors/unhandled-exception.tpl @@ -7,40 +7,56 @@

An unhandled exception was caught during the page template processing. The full details are shown below:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Exception{$exception_type}
File{$exception->getFile()}
Line{$exception->getLine()}
Message{$exception->getMessage()}
Stack Trace
{$exception->getTrace()|print_r}
+
+
+
+

Exception

+
+
+ {$exception_type|escape:html} +
+
+ +
+
+

File

+
+
+ {$exception->getFile()|escape:html} +
+
+ +
+
+

Line

+
+
+ {$exception->getLine()} +
+
+ +
+
+

Message

+
+
+ {$exception->getMessage()} +
+
+ +
+
+

Stack Trace

+
+
+ {$exception->getTrace()|var_dump} +
+
+

Note: Exception details should not be displayed on production systems. - Disable the debug.show_exceptions + Disable the Display Exceptions setting to omit the exception details from this page.

{/if} \ No newline at end of file