From 4aca9007dd95d3c039a9850a70a0834bb6a9f6da Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Fri, 5 Dec 2008 12:11:57 +0000 Subject: [PATCH] GenerateModel: improve error logging --- base/src/org/adempiere/util/GenerateModel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {