Function DetermineSentryEnvironment

  • Determines the sentry environment based on the build info object.

    If the tier is local return undefined. If the tier is production determine the environment based on the tag and branch name.

    Parameters

    • environment: Environment

    Returns undefined | string