summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/gallery/libraries/MY_Kohana_Exception.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/gallery/libraries/MY_Kohana_Exception.php b/modules/gallery/libraries/MY_Kohana_Exception.php
index 32b4ab93..dd5998a1 100644
--- a/modules/gallery/libraries/MY_Kohana_Exception.php
+++ b/modules/gallery/libraries/MY_Kohana_Exception.php
@@ -23,7 +23,9 @@ class Kohana_Exception extends Kohana_Exception_Core {
*/
public static function text($e) {
return sprintf(
- "%s [ %s ]: %s\n%s",
- get_class($e), $e->getCode(), strip_tags($e->getMessage()), $e->getTraceAsString());
+ "%s [ %s ]: %s\n%s [ %s ]\n%s",
+ get_class($e), $e->getCode(), strip_tags($e->getMessage()),
+ $e->getFile(), $e->getLine(),
+ $e->getTraceAsString());
}
} \ No newline at end of file