public function reject(RejectEnvelopeEvent $event)
    {
        if (!function_exists('newrelic_end_transaction')) {
            return;
        }

        newrelic_notice_error($event->getEnvelope()->getName(), $event->getException());
        newrelic_end_transaction();
    }