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
dsn
The DSN tells the SDK where to send the events. If this value is not provided, the SDK will try to read it from the SENTRY_DSN environment variable. If that variable also does not exist, the SDK will just not send any events.
This was true in some older versions of SDK (for example, when I used Native SDK 0.6.2). Now, I switched 0.7.9 and in case I don't set DSN (in debug builds, for example), sentry_init returns error 1. So, the description "If that variable also does not exist, the SDK will just not send any events" is not complete. SDK will also return 1 from sentry_init and not start crash handler at all.
Suggested Solution
No response
The text was updated successfully, but these errors were encountered:
SDK
Native SDK (Windows, macOS)
Description
On the page https://docs.sentry.io/platforms/native/configuration/options/ documentation says:
This was true in some older versions of SDK (for example, when I used Native SDK 0.6.2). Now, I switched 0.7.9 and in case I don't set DSN (in debug builds, for example),
sentry_init
returns error 1. So, the description "If that variable also does not exist, the SDK will just not send any events" is not complete. SDK will also return 1 fromsentry_init
and not start crash handler at all.Suggested Solution
No response
The text was updated successfully, but these errors were encountered: