Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhathcock committed Dec 11, 2024
1 parent 7438d1d commit b2272cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Sdk/Speckle.Connectors.Logging/Internal/LogBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ ResourceBuilder resourceBuilder
x.AddOtlpExporter(y =>
{
y.Protocol = OtlpExportProtocol.HttpProtobuf;
y.Endpoint = speckleOtelLogging.Endpoint is null ? throw new InvalidOperationException("Need a logging endpoint") : new Uri(speckleOtelLogging.Endpoint);
y.Endpoint = speckleOtelLogging.Endpoint is null
? throw new InvalidOperationException("Need a logging endpoint")
: new Uri(speckleOtelLogging.Endpoint);
var sb = new StringBuilder();
bool appendSemicolon = false;
foreach (var kvp in speckleOtelLogging.Headers ?? [])
Expand Down

0 comments on commit b2272cd

Please sign in to comment.