File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Bundle/DebugBundle/Resources/config
Component/HttpKernel/EventListener Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 96
96
<argument type =" collection" >
97
97
<argument type =" service" key =" cli" >
98
98
<service class =" Symfony\Component\VarDumper\Command\Descriptor\CliDescriptor" >
99
- <argument type =" service" id =" var_dumper.cli_dumper " />
99
+ <argument type =" service" id =" var_dumper.contextualized_cli_dumper.inner " />
100
100
</service >
101
101
</argument >
102
102
<argument type =" service" key =" html" >
Original file line number Diff line number Diff line change @@ -126,6 +126,10 @@ public function configure(Event $event = null)
126
126
$ output = $ output ->getErrorOutput ();
127
127
}
128
128
$ this ->exceptionHandler = function ($ e ) use ($ app , $ output ) {
129
+ if (!$ e instanceof \Exception) {
130
+ $ e = new FatalThrowableError ($ e );
131
+ }
132
+
129
133
$ app ->renderException ($ e , $ output );
130
134
};
131
135
}
You can’t perform that action at this time.
0 commit comments