File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ public class SentryCliConfiguration : SentryCliOptionsConfiguration
55{
66 public override void Configure ( SentryCliOptions cliOptions )
77 {
8+ if ( cliOptions . Auth is not null )
9+ {
10+ return ;
11+ }
12+
813 var token = ArgumentReader . GetCommandLineArg ( "auth_token" ) ;
914 if ( ! string . IsNullOrEmpty ( token ) )
1015 {
@@ -17,5 +22,6 @@ public override void Configure(SentryCliOptions cliOptions)
1722
1823 cliOptions . Organization = "demo" ;
1924 cliOptions . Project = "unity" ;
25+ cliOptions . UrlOverride = "https://sentry.io" ;
2026 }
2127}
Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ public class SentryOptionConfiguration : SentryOptionsConfiguration
55{
66 public override void Configure ( SentryUnityOptions options )
77 {
8+ if ( options . Dsn is not null )
9+ {
10+ return ;
11+ }
12+
813 var dsn = ArgumentReader . GetCommandLineArg ( "dsn" ) ;
914 if ( ! string . IsNullOrEmpty ( dsn ) )
1015 {
You can’t perform that action at this time.
0 commit comments