function captureEvent(event) {
    return callOnHub('captureEvent', event);
}
Captures a manually created event and sends it to Sentry.

@param event The event to send to Sentry.
@returns The generated eventId.