Skip to content

Commit

Permalink
make it more clear who is at fault
Browse files Browse the repository at this point in the history
  • Loading branch information
jackyshang12321 authored Sep 2, 2022
1 parent eaadf27 commit 915bce2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public override ExportResult Export(in Batch<LogRecord> batch)
this.isDisposeMessageSent = true;
}

this.WriteLine("The console exporter is still being invoked after it has been disposed. This could be the result of invalid lifecycle management of the OpenTelemetry .NET SDK.");
this.WriteLine("The console exporter is still being invoked after it has been disposed. This could be due to the application's incorrect lifecycle management of the LoggerFactory/OpenTelemetry .NET SDK.");
this.WriteLine(Environment.StackTrace);
this.WriteLine(Environment.NewLine + "Dispose was called on the following stack trace:");
this.WriteLine(this.disposedStackTrace);
Expand Down

0 comments on commit 915bce2

Please sign in to comment.