Skip to content

Commit d39759c

Browse files
[4.4] Fix some leftovers
1 parent 5440d67 commit d39759c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/Symfony/Bundle/DebugBundle/Resources/config/services.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
<argument type="collection">
9797
<argument type="service" key="cli">
9898
<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" />
100100
</service>
101101
</argument>
102102
<argument type="service" key="html">

src/Symfony/Component/HttpKernel/EventListener/DebugHandlersListener.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ public function configure(Event $event = null)
126126
$output = $output->getErrorOutput();
127127
}
128128
$this->exceptionHandler = function ($e) use ($app, $output) {
129+
if (!$e instanceof \Exception) {
130+
$e = new FatalThrowableError($e);
131+
}
132+
129133
$app->renderException($e, $output);
130134
};
131135
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy