From 002d0790bb7ff5ec4439d286562502566cabac54 Mon Sep 17 00:00:00 2001
From: Marco Pivetta
Date: Wed, 29 Feb 2012 23:33:06 +0100
Subject: [PATCH 1/1] Better overview on previous exceptions and more
exception details (file name, line number, exception
type)
---
module/Application/view/error/index.phtml | 58 ++++++++++++++++++++++++-----
1 file changed, 49 insertions(+), 9 deletions(-)
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:
+
+
+ -
+
+
+ - File:
+ -
+
getFile() ?>:getLine() ?>
+
+ - Message:
+ -
+
getMessage() ?>
+
+ - Stack trace:
+ -
+
getTraceAsString() ?>
+
+
+ getPrevious();
+ endwhile;
+ ?>
+
+
+
@@ -19,4 +59,4 @@
-
\ No newline at end of file
+
--
1.7.10.4