Skip to content

Commit

Permalink
Update Symfony displayer.
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed May 12, 2014
1 parent 742f658 commit 9d796c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Illuminate/Exception/SymfonyDisplayer.php
Expand Up @@ -27,10 +27,11 @@ public function __construct(ExceptionHandler $symfony)
* Display the given exception to the user.
*
* @param \Exception $exception
* @return \Symfony\Component\HttpFoundation\Response
*/
public function display(Exception $exception)
{
$this->symfony->handle($exception);
return $this->symfony->createResponse($exception);
}

}

0 comments on commit 9d796c6

Please sign in to comment.