Skip to content

Commit

Permalink
null string handling
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmrdavid committed Jun 13, 2024
1 parent 032f566 commit f31cad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WebJobs.Extensions.DurableTask/EndToEndTraceHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ private string SanitizeString(string? rawPayload, out string iloggerPayload, boo
return "(replay)";
}

string payload = rawPayload ?? string.Empty;
string payload = rawPayload ?? "(null)";
int numCharacters = payload.Length;
string sanitizedPayload = $"(Redacted {numCharacters} characters)";

Expand Down

0 comments on commit f31cad9

Please sign in to comment.