Skip to content

Commit d9c857d

Browse files
committed
πŸ§‘β€πŸ’» Remove the render override in the exception handler (Fixes #407)
1 parent 618df9a commit d9c857d

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

β€Žsrc/Roots/Acorn/Exceptions/Handler.phpβ€Ž

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,6 @@
88

99
class Handler extends FoundationHandler
1010
{
11-
/**
12-
* Render an exception into an HTTP response.
13-
*
14-
* @param \Illuminate\Http\Request $request
15-
* @return \Symfony\Component\HttpFoundation\Response
16-
*
17-
* @throws \Throwable
18-
*/
19-
public function render($request, Throwable $e)
20-
{
21-
if ($e instanceof Responsable) {
22-
return $e->toResponse($request);
23-
}
24-
25-
$e = $this->prepareException($this->mapException($e));
26-
27-
return $this->prepareResponse($request, $e);
28-
}
29-
3011
/**
3112
* Get the default context variables for logging.
3213
*

0 commit comments

Comments
Β (0)