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(
55
55
private readonly ?array $ exceptionToStatus = null ,
56
56
private readonly ?bool $ debug = false ,
57
57
private readonly ?array $ errorFormats = null ,
58
- private readonly ?ExceptionHandler $ decorated = null
58
+ private readonly ?ExceptionHandler $ decorated = null ,
59
59
) {
60
60
$ this ->resourceMetadataCollectionFactory = $ resourceMetadataCollectionFactory ;
61
61
$ this ->negotiator = $ negotiator ;
@@ -161,6 +161,7 @@ public function render($request, \Throwable $exception)
161
161
try {
162
162
$ response = $ this ->apiPlatformController ->__invoke ($ dup );
163
163
$ this ->decorated ->render ($ dup , $ exception );
164
+
164
165
return $ response ;
165
166
} catch (\Throwable $ e ) {
166
167
return $ this ->decorated ? $ this ->decorated ->render ($ request , $ exception ) : parent ::render ($ request , $ exception );
You can’t perform that action at this time.
0 commit comments