public function handleUncaught(Exception $exception) { if (PHP_SAPI === 'cli') { throw $exception; } return $this->handle($exception)->send(); }