def _capture_exception(hub, exc):
    if (hub.client is not None):
        (event, hint) = event_from_exception(exc, client_options=hub.client.options, mechanism={'type': 'asgi', 'handled': False})
        hub.capture_event(event, hint=hint)
def _capture_exception(hub, exc):
    if (hub.client is not None):
        (event, hint) = event_from_exception(exc, client_options=hub.client.options, mechanism={'type': 'asgi', 'handled': False})
        hub.capture_event(event, hint=hint)