Skip to content

Commit 3388f68

Browse files
committed
Rebasing fixes
1 parent 73ccb30 commit 3388f68

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

tracer/src/Datadog.Trace/LibDatadog/NativeInterop.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,7 @@ internal static class Common
9797
{
9898
[DllImport(DllName, EntryPoint = "ddog_Error_drop")]
9999
internal static extern void Drop(ErrorHandle error);
100-
}
101100

102-
internal static class Common
103-
{
104101
[DllImport(DllName, EntryPoint = "ddog_store_tracer_metadata")]
105102
internal static extern TracerMemfdHandleResult StoreTracerMetadata(
106103
byte schemaVersion,

tracer/src/Datadog.Trace/TracerManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ private static void OneTimeSetup(TracerSettings tracerSettings)
698698
var result = Utils.StoreTracerMetadata(1, Tracer.RuntimeId, TracerConstants.Language, TracerConstants.ThreePartVersion, Environment.MachineName, tracerSettings.ServiceName, tracerSettings.Environment, tracerSettings.ServiceVersion);
699699
if (result.Tag == ResultTag.Error)
700700
{
701-
Log.Error("Failed to store tracer metadata with message: {Error}", Error.Read(ref result.Error));
701+
Log.Error("Failed to store tracer metadata with message: {Error}", result.Error.Message.ToUtf8String());
702702
NativeInterop.Common.DropError(ref result.Error);
703703
}
704704
}

0 commit comments

Comments
 (0)