diff --git a/org.adempiere.base/src/org/adempiere/base/event/EventHelper.java b/org.adempiere.base/src/org/adempiere/base/event/EventHelper.java index ca4f38d13e..de95c8a395 100644 --- a/org.adempiere.base/src/org/adempiere/base/event/EventHelper.java +++ b/org.adempiere.base/src/org/adempiere/base/event/EventHelper.java @@ -28,6 +28,7 @@ import java.util.List; import org.compiere.model.PO; import org.compiere.process.ProcessInfo; +import org.compiere.util.CLogger; import org.osgi.service.event.Event; /** @@ -93,6 +94,8 @@ public final class EventHelper { if (msg == null) msg = e.toString(); addErrorMessage(event, msg); + if (e instanceof Exception) + CLogger.get().saveError("Error", (Exception) e); } /**