File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change
1
+ 2011-11-14 Dmitry V. Snezhinskiy
2
+
3
+ * main/Utils/AMQP/Pecl/AMQPPeclChannel.class.php :
4
+ customize AMQPPeclChannel Exception. Author Evgenia T. Tekalin
5
+
1
6
2011-11-14 Evgeny V. Kokovikhin
2
7
3
8
* core/Cache/PeclMemcached.class.php, test/core/MemcachedTest.class.php :
Original file line number Diff line number Diff line change @@ -317,7 +317,7 @@ public function exchangeDelete(
317
317
$ this ->unsetExchange ($ name );
318
318
319
319
return $ this ;
320
- }
320
+ }
321
321
322
322
/**
323
323
* @throws AMQPServerException|AMQPServerConnectionException
@@ -499,7 +499,12 @@ public function getNextDelivery()
499
499
$ this ->consumer ->getConsumerTag ()
500
500
!= $ incoming ->getConsumerTag ()
501
501
) {
502
- throw new WrongStateException ('Consumer change tag ' );
502
+ throw new WrongStateException (
503
+ "Consumer change tag consumerTag= "
504
+ ."{$ this ->consumer ->getConsumerTag ()}, "
505
+ ."message.consumerTag= {$ incoming ->getConsumerTag ()}, "
506
+ ."message.body= {$ incoming ->getBody ()}"
507
+ );
503
508
}
504
509
505
510
$ this ->consumer ->handleDelivery ($ incoming );
You can’t perform that action at this time.
0 commit comments