Author: lektran
Date: Wed Jul 1 11:36:45 2009
New Revision: 790125
URL:
http://svn.apache.org/viewvc?rev=790125&view=revLog:
Added missing return statement
Modified:
ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java
Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java?rev=790125&r1=790124&r2=790125&view=diff==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java (original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java Wed Jul 1 11:36:45 2009
@@ -4566,7 +4566,7 @@
}
} catch (Exception exc) {
// TODO: imporve error handling
- ServiceUtil.returnError("The following error occurred creating drop shipments for order [" + orderId + "]: " + exc.getMessage());
+ return ServiceUtil.returnError("The following error occurred creating drop shipments for order [" + orderId + "]: " + exc.getMessage());
}
return ServiceUtil.returnSuccess();