feat: improves fatal exception handling

This commit is contained in:
Nuno Maduro
2024-01-25 21:47:28 +00:00
parent 62d8459627
commit c5ce355f3c
8 changed files with 79 additions and 23 deletions

View File

@ -90,7 +90,7 @@ use Symfony\Component\Console\Output\ConsoleOutput;
$result = $kernel->handle($originalArguments, $arguments);
$kernel->shutdown();
$kernel->terminate();
} catch (Throwable|Error $e) {
Panic::with($e);
}