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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

jonesde
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");