Author: jonesde
Date: Wed Oct 20 08:59:37 2010
New Revision: 1024555
URL: http://svn.apache.org/viewvc?rev=1024555&view=rev
Log:
Small improvement in error message to show condition used when no shipping
estimates were found
Modified:
ofbiz/trunk/applications/product/src/org/ofbiz/shipment/shipment/ShipmentServices.java
Modified:
ofbiz/trunk/applications/product/src/org/ofbiz/shipment/shipment/ShipmentServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/shipment/shipment/ShipmentServices.java?rev=1024555&r1=1024554&r2=1024555&view=diff
==============================================================================
---
ofbiz/trunk/applications/product/src/org/ofbiz/shipment/shipment/ShipmentServices.java
(original)
+++
ofbiz/trunk/applications/product/src/org/ofbiz/shipment/shipment/ShipmentServices.java
Wed Oct 20 08:59:37 2010
@@ -264,7 +264,7 @@ public class ShipmentServices {
if (estimates == null || estimates.size() < 1) {
if (initialEstimateAmt.compareTo(BigDecimal.ZERO) == 0) {
Debug.logWarning("Using the passed context : " + context,
module);
- Debug.logWarning("No shipping estimates found; the shipping
amount returned is 0!", module);
+ Debug.logWarning("No shipping estimates found; the shipping
amount returned is 0! Condition used was: " + estFieldsCond, module);
}
Map<String, Object> respNow = ServiceUtil.returnSuccess();