We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6eac0b4 commit ae20fb3Copy full SHA for ae20fb3
src/ServiceControl/Infrastructure/TransportMessageExtensions.cs
@@ -20,7 +20,13 @@ public static string ProcessingEndpointName(this TransportMessage message)
20
return message.ReplyToAddress.Queue;
21
}
22
23
- throw new InvalidOperationException("No processing endpoint could be determined for message");
+ string messageTypes;
24
+ if (!message.Headers.TryGetValue(Headers.EnclosedMessageTypes, out messageTypes))
25
+ {
26
+ messageTypes = "Unknown";
27
+ }
28
+
29
+ throw new InvalidOperationException(string.Format("No processing endpoint could be determined for message ({0})", messageTypes));
30
31
32
public static string UniqueId(this TransportMessage message)
0 commit comments