mirror of https://github.com/apache/activemq.git
a bit better error message for https://issues.apache.org/activemq/browse/AMQ-2092
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@739966 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
40465998ee
commit
662aee8f21
|
@ -176,7 +176,7 @@ public class TransportConnection implements Connection, Task, CommandVisitor {
|
|||
serviceLock.readLock().lock();
|
||||
try {
|
||||
if (!(o instanceof Command)) {
|
||||
throw new RuntimeException("Protocol violation - Command corrupted");
|
||||
throw new RuntimeException("Protocol violation - Command corrupted: " + o.toString());
|
||||
}
|
||||
Command command = (Command)o;
|
||||
Response response = service(command);
|
||||
|
|
Loading…
Reference in New Issue