Use Kohana exception ::handler() rather than just ::text() to display the exception, fixes #18
This commit is contained in:
parent
1c73ca8b0b
commit
cf68822121
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue