File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments