From ae8fb3981806b315944512849934ba8d1d7b3f2c Mon Sep 17 00:00:00 2001 From: rMalie Date: Wed, 5 Oct 2011 12:05:40 +0000 Subject: [PATCH] // Improve exception display --- classes/exception/PrestashopException.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/classes/exception/PrestashopException.php b/classes/exception/PrestashopException.php index 057b5496a..3fd135d37 100644 --- a/classes/exception/PrestashopException.php +++ b/classes/exception/PrestashopException.php @@ -58,6 +58,8 @@ class PrestashopExceptionCore extends Exception ltrim(str_replace(array(_PS_ROOT_DIR_, '\\'), array('', '/'), $this->getFile()), '/') ); + $this->displayFileDebug($this->getFile(), $this->getLine()); + // Display debug backtrace echo '