IDEMPIERE-794 Ticket #1001026 - Expand the views to provide more information / Wrong report definition is being hidden from user - show the exception

This commit is contained in:
Carlos Ruiz 2013-04-23 16:01:35 -05:00
parent 40984c23e7
commit dfb3b1cee9
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,7 @@ import java.util.ArrayList;
import java.util.Properties; import java.util.Properties;
import java.util.logging.Level; import java.util.logging.Level;
import org.adempiere.exceptions.AdempiereException;
import org.compiere.model.MLookupFactory; import org.compiere.model.MLookupFactory;
import org.compiere.model.MQuery; import org.compiere.model.MQuery;
import org.compiere.model.MRole; import org.compiere.model.MRole;
@ -1001,6 +1002,7 @@ public class DataEngine
catch (SQLException e) catch (SQLException e)
{ {
log.log(Level.SEVERE, pdc + " - " + e.getMessage() + "\nSQL=" + pd.getSQL()); log.log(Level.SEVERE, pdc + " - " + e.getMessage() + "\nSQL=" + pd.getSQL());
throw new AdempiereException(e);
} }
finally finally
{ {