public function failed(Exception $exception)
    {

        $this->incrementEsiRateLimit();

        // Analytics. Report only the Exception class and message.
        dispatch((new Analytics((new AnalyticsContainer)
            ->set('type', 'exception')
            ->set('exd', get_class($exception) . ':' . $exception->getMessage())
            ->set('exf', 1))));

        // Rethrow the original exception for Horizon
        throw $exception;
    }