Skip to content

Commit

Permalink
Fix bug in ETW message (#2740)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiang17 authored Jan 31, 2023
1 parent aad1932 commit 943d54f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public void UnobservedTaskExceptionThrewUnhandledException(string exception, str
this.WriteEvent(13, exception, this.applicationNameProvider.Name);
}

[Event(14, Message = "Unknown error occured in {0}. Exception: {0}", Level = EventLevel.Error)]
[Event(14, Message = "Unknown error occured in {0}. Exception: {1}", Level = EventLevel.Error)]
public void UnknownErrorOccured(string source, string exception, string applicationName = "Incorrect")
{
this.WriteEvent(14, source, exception, this.applicationNameProvider.Name);
Expand Down

0 comments on commit 943d54f

Please sign in to comment.