captureEvent(event, hint) {
    const eventId = hint && hint.event_id ? hint.event_id : utils.uuid4();

    if (!this._client) {
      utils.logger.warn('No client configured on scope - will not capture event!');
      return eventId;
    }

    this._client.captureEvent(event, { ...hint, event_id: eventId }, this);

    return eventId;
  }
Captures a manually created event for this scope and sends it to Sentry.

@param exception The event to capture.
@param hint Optional additional data to attach to the Sentry event.
@returns the id of the captured event.