diff --git a/TestHosts/TestHosts/Program.cs b/TestHosts/TestHosts/Program.cs index 0e0ba9f..f7b6b2a 100644 --- a/TestHosts/TestHosts/Program.cs +++ b/TestHosts/TestHosts/Program.cs @@ -77,7 +77,8 @@ o.Dsn = sentrySection; o.SendDefaultPii = true; o.MaxRequestBodySize = RequestSize.Always; - o.CaptureBlockingCalls = true; + o.CaptureBlockingCalls = ConfigurationReader.GetValueOrDefault("SentryConfiguration", "CaptureBlockingCalls", false); + o.IncludeActivityData = ConfigurationReader.GetValueOrDefault("SentryConfiguration", "IncludeActivityData", false); o.Release = Assembly.GetExecutingAssembly().GetName().Version?.ToString() ?? "unknown"; }); } diff --git a/TestHosts/TestHosts/TestHosts.csproj b/TestHosts/TestHosts/TestHosts.csproj index 90ae7bd..4d3e10c 100644 --- a/TestHosts/TestHosts/TestHosts.csproj +++ b/TestHosts/TestHosts/TestHosts.csproj @@ -21,6 +21,7 @@ +