Author: jonesde
Date: Tue Feb 22 01:18:55 2011
New Revision: 1073196
URL:
http://svn.apache.org/viewvc?rev=1073196&view=revLog:
Reduced logging of an exception that is just rethrown, still logs error but not full stack trace
Modified:
ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java
Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java?rev=1073196&r1=1073195&r2=1073196&view=diff==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java Tue Feb 22 01:18:55 2011
@@ -887,7 +887,7 @@ public class GenericDelegator implements
return value;
} catch (GenericEntityException e) {
String errMsg = "Failure in create operation for entity [" + value.getEntityName() + "]: " + e.toString() + ". Rolling back transaction.";
- Debug.logError(e, errMsg, module);
+ Debug.logError(errMsg, module);
try {
// only rollback the transaction if we started one...
TransactionUtil.rollback(beganTransaction, errMsg, e);