Author: doogie
Date: Mon May 10 20:05:44 2010
New Revision: 942884
URL: http://svn.apache.org/viewvc?rev=942884&view=rev
Log:
Make certain the exception gets logged when there is a communication
error with authorized.net.
Modified:
ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AIMPaymentServices.java
Modified:
ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AIMPaymentServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AIMPaymentServices.java?rev=942884&r1=942883&r2=942884&view=diff
==============================================================================
---
ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AIMPaymentServices.java
(original)
+++
ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AIMPaymentServices.java
Mon May 10 20:05:44 2010
@@ -323,7 +323,7 @@ public class AIMPaymentServices {
result.put("httpResponse", httpResponse);
result.put("authorizeResponse", ar);
} catch (HttpClientException e) {
- Debug.logInfo("Could not complete Authorize.Net transaction: " +
e.toString(),module);
+ Debug.logInfo(e, "Could not complete Authorize.Net transaction: "
+ e.toString(),module);
}
result.put(ModelService.RESPONSE_MESSAGE,
ModelService.RESPOND_SUCCESS);
return result;