summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEgidijus Vaishnora2011-02-10 10:54:31 (EST)
committerEgidijus Vaishnora2011-02-10 10:54:31 (EST)
commitf04543b79cf96d4a9de9454ce7ae83e653406a9f (patch)
treebd624d8fd23ddeb6307d1a12bdfdce403d17fb61
parent4cbd9354b502624943007f0d1f33dad10056a6b0 (diff)
downloadcdo-f04543b79cf96d4a9de9454ce7ae83e653406a9f.zip
cdo-f04543b79cf96d4a9de9454ce7ae83e653406a9f.tar.gz
cdo-f04543b79cf96d4a9de9454ce7ae83e653406a9f.tar.bz2
Enabling SQL error message printout in console
-rw-r--r--plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/DBUtil.java18
1 files changed, 3 insertions, 15 deletions
diff --git a/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/DBUtil.java b/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/DBUtil.java
index 62e4fc3..07da6c6 100644
--- a/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/DBUtil.java
+++ b/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/DBUtil.java
@@ -184,11 +184,7 @@ public final class DBUtil
}
catch (Exception ex)
{
- if (TRACER.isEnabled())
- {
- TRACER.trace(ex);
- }
-
+ OM.LOG.error(ex);
return ex;
}
}
@@ -206,11 +202,7 @@ public final class DBUtil
}
catch (Exception ex)
{
- if (TRACER.isEnabled())
- {
- TRACER.trace(ex);
- }
-
+ OM.LOG.error(ex);
return ex;
}
}
@@ -240,11 +232,7 @@ public final class DBUtil
}
catch (Exception ex)
{
- if (TRACER.isEnabled())
- {
- TRACER.trace(ex);
- }
-
+ OM.LOG.error(ex);
return ex;
}
}