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
Hello, those environment variables are coming from Astro. I just tested it in an example Astro project without Sentry and could reproduce it. As this is not Sentry-related, you could file an issue with a reproduction in the Astro repository. There is also a recent issue about this: withastro/astro#11282
Thanks for reaching out anyways. I will close this issue for now, as this cannot be fixed on our side.
Thanks a lot for your comment @s1gr1d very helpful! I am going to reopen this bug on astro repo, as the current one has been closed by automated system due to a lack of reproduction link. I made one: https://stackblitz.com/edit/github-qyxzsr
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
8.19.0
Framework Version
Astro 4.13.0
Link to Sentry event
No response
Reproduction Example/SDK Setup
Steps to Reproduce
Any exception on the website logged to Sentry comes back with
development
env meta data.Expected Result
As per the Astro documentation, I would expect
import.meta.env.MODE
to resolve to "development" forastro dev
and "production" forastro build
.Actual Result
Always resolves to "development".
The text was updated successfully, but these errors were encountered: