Skip to content

Commit ed77c12

Browse files
committed
* Improve "Pipelining of requests forbidden" exception message.
1 parent 0b0c882 commit ed77c12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/RabbitMQ.Client/client/impl/RpcContinuationQueue.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public void Enqueue(IRpcContinuation k)
8282
IRpcContinuation result = Interlocked.CompareExchange(ref _outstandingRpc, k, s_tmp);
8383
if (!(result is EmptyRpcContinuation))
8484
{
85-
throw new NotSupportedException("Pipelining of requests forbidden");
85+
throw new NotSupportedException($"Pipelining of requests forbidden (attempted: {k.GetType()}, enqueued: {result.GetType()})");
8686
}
8787
}
8888

0 commit comments

Comments
 (0)