File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1+ using System ;
12using Sentry . Unity ;
2- using UnityEditor . Build ;
3- using UnityEngine ;
43
54public class SentryCliConfiguration : SentryCliOptionsConfiguration
65{
@@ -13,7 +12,7 @@ public override void Configure(SentryCliOptions cliOptions)
1312 }
1413 else
1514 {
16- throw new BuildFailedException ( "Failed to fetch `auth_token` from the command line arguments" ) ;
15+ throw new InvalidOperationException ( "Failed to fetch `auth_token` from the command line arguments" ) ;
1716 }
1817
1918 cliOptions . Organization = "demo" ;
Original file line number Diff line number Diff line change 1+ using System ;
12using Sentry . Unity ;
2- using UnityEditor . Build ;
3- using UnityEngine ;
43
54public class SentryOptionConfiguration : SentryOptionsConfiguration
65{
@@ -13,7 +12,7 @@ public override void Configure(SentryUnityOptions options)
1312 }
1413 else
1514 {
16- throw new BuildFailedException ( "Failed to fetch `dsn` from the command line arguments" ) ;
15+ throw new InvalidOperationException ( "Failed to fetch `dsn` from the command line arguments" ) ;
1716 }
1817 }
1918}
You can’t perform that action at this time.
0 commit comments