Permalink
Browse files

Adding logging information to help identify issues on server

  • Loading branch information...
1 parent 1b5e8d2 commit cc1a75c2c9c188423b4cd639a1a466a7975725d7 @clebertsuconic clebertsuconic committed Jun 11, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/main/org/hornetq/core/protocol/core/ServerSessionPacketHandler.java
@@ -522,6 +522,7 @@ public void handlePacket(final Packet packet)
{
if (requiresResponse)
{
+ log.warn("Sending unexpected exception to the client", t);
HornetQException hqe = new HornetQException(HornetQException.INTERNAL_ERROR);
hqe.initCause(t);
response = new HornetQExceptionMessage(hqe);

0 comments on commit cc1a75c

Please sign in to comment.