You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install and configure Sentry by following the official documentation.
Launch the application in development mode with pnpm dev.
Generate a JavaScript error in the application.
Check the environment associated with the error in Sentry.
Expected Result
The environment should be automatically detected as "development".
Suggestions
Disable by default in development mode: An option to disable Sentry by default in development mode could be added. This would prevent sending development errors to Sentry, which can be annoying.
Actual Result
The environment reported in Sentry is "production".
The text was updated successfully, but these errors were encountered:
As we don't currently recommend users to use the development mode when using our SDK it's probably of lower priority on our plate. Disabling Sentry by default in development mode is probably something we'll leave up to users, but we could for example set the environment option in the SDK's inits (for both client and server) to development by looking at import.meta.env.DEV.
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
8.51.0
Framework Version
Nuxt 3.14.1592
Link to Sentry event
https://benevolt.sentry.io/issues/6239844009/?project=4508678079905792&query=is%3Aunresolved%20level%3Aerror&referrer=issue-stream&statsPeriod=14d&stream_index=8
Reproduction Example/SDK Setup
No response
Steps to Reproduce
Expected Result
The environment should be automatically detected as "development".
Suggestions
Disable by default in development mode: An option to disable Sentry by default in development mode could be added. This would prevent sending development errors to Sentry, which can be annoying.
Actual Result
The environment reported in Sentry is "production".
The text was updated successfully, but these errors were encountered: