Skip to content

Astro integration upload source map warning #9591

Closed
@youngboy

Description

@youngboy

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/astro

SDK Version

7.80.1

Framework Version

Astro 3.4.0

Link to Sentry event

No response

SDK Setup

    sentry({
      dsn: __DSN__,
      environment: process.env.VERCEL_ENV,
      release: `vivace@${version}`,
      debug: false,
      sourceMapsUploadOptions: {
        project: 'vivace',
        authToken: process.env.SENTRY_AUTH_TOKEN,
        telemetry: false
      }
    })

Steps to Reproduce

  1. build
  2. warning message occur
  3. dashboard releases pages shows Source Maps[0 artifacts]

error

Expected Result

can find source maps file in release detail

Actual Result

error message:

[sentry-vite-plugin] Warning: No release name provided. Will not inject release. Please set the release.name option to identify your release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: astroIssues related to the Sentry Astro SDK

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions