Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bitsandfoxes committed Oct 5, 2022
1 parent edcab88 commit 83ef604
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package-dev/Runtime/SentryInitialization.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace Sentry.Unity
{
public static class SentryInitialization
{
public const string StartupTransactionOperation = "app.start";
private const string StartupTransactionOperation = "app.start";
public static ISpan InitSpan;
private const string InitSpanOperation = "runtime.init";
public static ISpan SubSystemRegistrationSpan;
Expand Down
1 change: 1 addition & 0 deletions package-dev/Runtime/SentryIntegrations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public static void Configure(SentryUnityOptions options)
#if SENTRY_SCENE_MANAGER_TRACING_INTEGRATION
if (options.TracesSampleRate > 0.0)
{
// On WebGL the SDK initializes on BeforeScene so the Startup Tracing won't work properly. https://github.com/getsentry/sentry-unity/issues/1000
#if !SENTRY_WEBGL
options.AddIntegration(new StartupTracingIntegration());
#endif
Expand Down

0 comments on commit 83ef604

Please sign in to comment.