Skip to content

Commit 68e8b80

Browse files
committed
cs
1 parent 7ecddc6 commit 68e8b80

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Laravel/Exception/ErrorHandler.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function __construct(
5555
private readonly ?array $exceptionToStatus = null,
5656
private readonly ?bool $debug = false,
5757
private readonly ?array $errorFormats = null,
58-
private readonly ?ExceptionHandler $decorated = null
58+
private readonly ?ExceptionHandler $decorated = null,
5959
) {
6060
$this->resourceMetadataCollectionFactory = $resourceMetadataCollectionFactory;
6161
$this->negotiator = $negotiator;
@@ -161,6 +161,7 @@ public function render($request, \Throwable $exception)
161161
try {
162162
$response = $this->apiPlatformController->__invoke($dup);
163163
$this->decorated->render($dup, $exception);
164+
164165
return $response;
165166
} catch (\Throwable $e) {
166167
return $this->decorated ? $this->decorated->render($request, $exception) : parent::render($request, $exception);

0 commit comments

Comments
 (0)