Skip to content

Commit 5e2d227

Browse files
committed
* Improve "Pipelining of requests forbidden" message
1 parent 027670b commit 5e2d227

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)