You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jo...@apache.org on 2007/12/01 17:44:58 UTC

svn commit: r600162 - /ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/shipping/ShippingEvents.java

Author: jonesde
Date: Sat Dec  1 08:44:58 2007
New Revision: 600162

URL: http://svn.apache.org/viewvc?rev=600162&view=rev
Log:
Small change for more informative error handling

Modified:
    ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/shipping/ShippingEvents.java

Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/shipping/ShippingEvents.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/shipping/ShippingEvents.java?rev=600162&r1=600161&r2=600162&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/shipping/ShippingEvents.java (original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/shipping/ShippingEvents.java Sat Dec  1 08:44:58 2007
@@ -254,7 +254,7 @@
                     serviceResp = dispatcher.runSync(serviceName, context, 0, true);
                 } catch (GenericServiceException e) {
                     Debug.logError(e, "Shipment Service Error", module);
-                    throw new GeneralException();
+                    throw new GeneralException(e);
                 }
                 if (!ServiceUtil.isError(serviceResp)) {
                     externalShipAmt = (Double) serviceResp.get("shippingEstimateAmount");