From: Marco Pivetta Date: Wed, 29 Feb 2012 22:33:06 +0000 (+0100) Subject: Better overview on previous exceptions and more exception details (file name, line... X-Git-Url: http://git.inspyration.org/?a=commitdiff_plain;h=002d0790bb7ff5ec4439d286562502566cabac54;hp=62d013d46f5f9396399704319d66131afb273894;p=zf2.biz%2Fgalerie.git Better overview on previous exceptions and more exception details (file name, line number, exception type) --- diff --git a/module/Application/view/error/index.phtml b/module/Application/view/error/index.phtml index e62262f..ab9bf9b 100644 --- a/module/Application/view/error/index.phtml +++ b/module/Application/view/error/index.phtml @@ -4,14 +4,54 @@ display_exceptions) && $this->display_exceptions): ?> exception) && $this->exception instanceof Exception): ?> - -

Exception information:

-

-

Message:

-
exception->getMessage() ?>
-

Stack trace:

-
exception->getTraceAsString() ?>
-

+
+

Additional information:

+

exception); ?>

+
+
File:
+
+
exception->getFile() ?>:exception->getLine() ?>
+
+
Message:
+
+
exception->getMessage() ?>
+
+
Stack trace:
+
+
exception->getTraceAsString() ?>
+
+
+exception->getPrevious(); + if ($e) : +?> +
+

Previous exceptions:

+ + @@ -19,4 +59,4 @@ - \ No newline at end of file +