diff --git a/base/src/org/adempiere/util/GenerateModel.java b/base/src/org/adempiere/util/GenerateModel.java index 2b367c7ac7..e9f125562d 100644 --- a/base/src/org/adempiere/util/GenerateModel.java +++ b/base/src/org/adempiere/util/GenerateModel.java @@ -142,7 +142,7 @@ public class GenerateModel } catch (Exception e) { - log.severe("main - " + e); + log.log(Level.SEVERE, sql.toString(), e); } finally {