diff --git a/laravel/error.php b/laravel/error.php index 4c8cfd50..729f632a 100644 --- a/laravel/error.php +++ b/laravel/error.php @@ -6,6 +6,7 @@ class Error { * Handle an exception and display the exception report. * * @param Exception $exception + * @param bool $trace * @return void */ public static function exception($exception, $trace = true) @@ -24,6 +25,7 @@ class Error {
".$exception->getMessage()."
".$exception->getFile()." on line ".$exception->getLine().""; + if ($trace) { echo "