diff --git a/Slim/Middleware/PrettyExceptions.php b/Slim/Middleware/PrettyExceptions.php index 8a56442b0..0ea3823cc 100644 --- a/Slim/Middleware/PrettyExceptions.php +++ b/Slim/Middleware/PrettyExceptions.php @@ -89,7 +89,7 @@ protected function renderBody(&$env, $exception) $message = $exception->getMessage(); $file = $exception->getFile(); $line = $exception->getLine(); - $trace = str_replace(array('#', '\n'), array('
The application could not run because of the following error:
'; $html .= '