Author: chris.laprun(a)jboss.com
Date: 2010-10-26 08:06:39 -0400 (Tue, 26 Oct 2010)
New Revision: 4845
Modified:
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/ProducerInfo.java
Log:
- GTNWSRP-119: Properly log exceptions.
Modified:
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/ProducerInfo.java
===================================================================
---
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/ProducerInfo.java 2010-10-26
11:51:21 UTC (rev 4844)
+++
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/ProducerInfo.java 2010-10-26
12:06:39 UTC (rev 4845)
@@ -394,7 +394,7 @@
}
catch (InvokerUnavailableException e)
{
- log.debug("Couldn't refresh endpoint information, attempting a
second time: " + e);
+ log.debug("Couldn't refresh endpoint information, attempting a
second time: " + e, e);
// try again as refresh on a failed service factory will fail without
attempting the refresh
didJustRefresh = persistentEndpointInfo.forceRefresh();
@@ -422,7 +422,7 @@
// if we have local registration info, the OperationFailedFault might
indicate a need to call modifyRegistration
if (hasLocalRegistrationInfo())
{
- log.debug("OperationFailedFault occurred, might indicate a need to
modify registration");
+ log.debug("OperationFailedFault occurred, might indicate a need to
modify registration", operationFailedFault);
// attempt to get unregistered service description
serviceDescription = getServiceDescription(true);
@@ -454,7 +454,7 @@
}
catch (InvalidRegistration invalidRegistrationFault)
{
- log.debug("InvalidRegistrationFault occurred");
+ log.debug("InvalidRegistrationFault occurred",
invalidRegistrationFault);
// attempt to get unregistered service description
serviceDescription = getServiceDescription(true);