Author: dereed
Date: 2012-07-23 14:41:08 -0400 (Mon, 23 Jul 2012)
New Revision: 8512
Modified:
core/trunk/src/main/java/org/jboss/cache/marshall/CommandAwareRpcDispatcher.java
Log:
[JBCACHE-1616] Add descriptive message to error log, instead of just logging exception
Modified:
core/trunk/src/main/java/org/jboss/cache/marshall/CommandAwareRpcDispatcher.java
===================================================================
---
core/trunk/src/main/java/org/jboss/cache/marshall/CommandAwareRpcDispatcher.java 2012-07-17
04:39:41 UTC (rev 8511)
+++
core/trunk/src/main/java/org/jboss/cache/marshall/CommandAwareRpcDispatcher.java 2012-07-23
18:41:08 UTC (rev 8512)
@@ -384,7 +384,7 @@
}
catch (Exception e)
{
- if (log.isErrorEnabled()) log.error(e);
+ if (log.isErrorEnabled()) log.error("Failure to marshal
argument(s)", e);
throw new RuntimeException("Failure to marshal argument(s)", e);
}
Show replies by date