File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 2020
2121//  replace this with your Sentry project's DSN link
2222#define  SENTRY_DSN_LINK  " <your-dsn-link-here>" 
23+ //  replace this with anything you want
24+ #define  SENTRY_RELEASE  " mymod@version" 
25+ //  replace this with anything you want
26+ #define  SENTRY_ENVIRONMENT  " development" 
2327
2428#ifdef  _WIN32 //  dw its gonna still work in the 64 bit config
2529#define  SENTRY_CRASHPADEXE_NAME  " aridity_crashpad.exe" 
@@ -87,9 +91,9 @@ bool CSentryMgr::Init()
8791
8892	sentry_options_set_handler_path (options, handlerPath);
8993	sentry_options_set_database_path (options, dbPath);
90- 	sentry_options_set_release (options, 
" [email protected] " );
 94+ 	sentry_options_set_release (options, SENTRY_RELEASE );
9195	sentry_options_set_debug (options, 1 );
92- 	sentry_options_set_environment (options, " production "  );
96+ 	sentry_options_set_environment (options, SENTRY_ENVIRONMENT );
9397
9498	sentry_value_set_stacktrace (exc, NULL , 0 );
9599	sentry_event_add_exception (event, exc);
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments