Skip to content

[Nuxt]: Wrong issue environment tag #15623

Open
@priscilawebdev

Description

@priscilawebdev

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/nuxt

SDK Version

9.5.0

Framework Version

No response

Link to Sentry event

https://sentry-pri-nuxt.sentry.io/issues/32395492/events/8dfaac86dd084cc19ec6cea251cf4958/

Reproduction Example/SDK Setup

No response

Steps to Reproduce

  1. Create a new Nuxt project by following the official guide here: Nuxt Installation Guide.
  2. Set up a new organization in Sentry.
  3. Create a new Nuxt project in Sentry.
  4. Use the Sentry wizard to instrument the Nuxt project.
  5. Run yarn dev to start the development environment.
  6. Trigger an error in the application.
  7. Go to the issue details in Sentry.
  8. The 'environment' tag should be set to 'dev'/'development' instead of 'production'.

Expected Result

The 'environment' tag should be set to 'dev'/'development' instead of 'production'.

Actual Result

Currently I am seeing 'production'

Image

Image

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions