Classes/Console/Error/ExceptionHandler.php
public function handleException(\Throwable $exception)
    {
        $this->exceptionRenderer->render($exception, $this->output->getErrorOutput());

        echo PHP_EOL;
        exit(1);
    }
public function handleException(\Throwable $exception)
    {
        $this->exceptionRenderer->render($exception, $this->output->getErrorOutput());

        echo PHP_EOL;
        exit(1);
    }
Formats and echoes the exception for the command line.

@param \Throwable $exception The exception object
@return void