Use Kohana exception ::handler() rather than just ::text() to display the exception, fixes #18

This commit is contained in:
Woody Gilk 2011-03-29 10:58:36 -05:00
parent 1c73ca8b0b
commit cf68822121

View file

@ -111,7 +111,7 @@ abstract class Kohana_Kostache {
ob_start();
// Render the exception
Kohana_Exception::text($e);
Kohana::exception_handler($e);
return (string) ob_get_clean();
}