Open TetsuyaXD opened 1 year ago
Class "Symfony\Component\Debug\Exception\FatalThrowableError\" not found (...) at .../vendor/themosis/framework/src/Core/helpers.php:829
if (! function_exists('report')) { /** * Report an exception. * * @param \Exception $exception */ function report($exception) { if ($exception instanceof Throwable && ! $exception instanceof Exception) { $exception = new FatalThrowableError($exception); } app(ExceptionHandler::class)->report($exception); } }
Call the report function passing a Throwable (no Exception), f.e. report(new Error());
report(new Error());
Tested on a clean install, couldn't find the symfony/debug package in the dependency tree either
Throwable being wrapped using the FatalThrowableError class thus handling the corresponding exception instead of throwing a new one
Description
Class "Symfony\Component\Debug\Exception\FatalThrowableError\" not found (...) at .../vendor/themosis/framework/src/Core/helpers.php:829
Steps to reproduce
Call the report function passing a Throwable (no Exception), f.e.
report(new Error());
Tested on a clean install, couldn't find the symfony/debug package in the dependency tree either
Expected behavior
Throwable being wrapped using the FatalThrowableError class thus handling the corresponding exception instead of throwing a new one