Function onProfilingStartRouteTransaction

  • Experimental

    Safety wrapper for startTransaction for the unlikely case that transaction starts before tracing is imported - if that happens we want to avoid throwing an error from profiling code. see https://github.com/getsentry/sentry-javascript/issues/4731.

    Parameters

    Returns Transaction | undefined

Generated using TypeDoc