mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-11 14:33:04 +00:00
feature merge the sentry mac and win on the sentry server
This commit is contained in:
@@ -111,14 +111,12 @@ static sentry_value_t before_send(sentry_value_t event, void* hint, void* data)
|
||||
void initSentryEx()
|
||||
{
|
||||
sentry_options_t* options = sentry_options_new();
|
||||
std::string dsn = "";
|
||||
std::string dsn = std::string("https://c74b617c2aedc291444d3a238d23e780@o4508125599563776.ingest.us.sentry.io/4510425163956224");
|
||||
{
|
||||
#ifdef __APPLE__
|
||||
|
||||
std::string dsn = std::string("https://ac473187efb8877f36bd31694ffd5dec@o4508125599563776.ingest.us.sentry.io/4510425212059648");
|
||||
#ifdef __APPLE__
|
||||
|
||||
#elif _WIN32
|
||||
std::string dsn = std::string("https://c74b617c2aedc291444d3a238d23e780@o4508125599563776.ingest.us.sentry.io/4510425163956224");
|
||||
|
||||
#endif
|
||||
sentry_options_set_dsn(options, dsn.c_str());
|
||||
std::string handlerDir = "";
|
||||
|
||||
Reference in New Issue
Block a user