Skip to content

Commit

Permalink
nullable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-hensley committed Mar 19, 2024
1 parent 282ee74 commit 6aea8ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenTelemetry/Trace/TracerProviderSdk.cs
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ private static Sampler GetSampler(IConfiguration configuration, Sampler? stateSa
}

default:
OpenTelemetrySdkEventSource.Log.TracesSamplerConfigInvalid(configValue);
OpenTelemetrySdkEventSource.Log.TracesSamplerConfigInvalid(configValue ?? string.Empty);
break;
}

Expand Down

0 comments on commit 6aea8ee

Please sign in to comment.