From b9be852346ad72b08dba2cd5602cb8f02eb5a86d Mon Sep 17 00:00:00 2001 From: Michal Cech Date: Wed, 10 Feb 2021 18:52:01 +0100 Subject: [PATCH] full trace for http errors --- .../Testing/Concerns/InteractsWithExceptionHandling.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Foundation/Testing/Concerns/InteractsWithExceptionHandling.php b/src/Illuminate/Foundation/Testing/Concerns/InteractsWithExceptionHandling.php index 40e3d777ffbd..0304940ff061 100644 --- a/src/Illuminate/Foundation/Testing/Concerns/InteractsWithExceptionHandling.php +++ b/src/Illuminate/Foundation/Testing/Concerns/InteractsWithExceptionHandling.php @@ -124,7 +124,7 @@ public function render($request, Throwable $e) if ($e instanceof NotFoundHttpException) { throw new NotFoundHttpException( - "{$request->method()} {$request->url()}", null, $e->getCode() + "{$request->method()} {$request->url()}", $e, $e->getCode() ); }