Skip to content

Commit 121a0fd

Browse files
authored
Add the message body back to the MessageFailed event when non-binary & under LOH limit (#4475)
1 parent 2592f0f commit 121a0fd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ServiceControl/Recoverability/ExternalIntegration/MessageFailedConverter.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ static string GetBody(FailedMessage.ProcessingAttempt last)
7575
{
7676
return (string)body;
7777
}
78+
else if (last.MessageMetadata.TryGetValue("MsgFullText", out body))
79+
{
80+
return (string)body;
81+
}
7882

7983
return last.Body;
8084
}

0 commit comments

Comments
 (0)