From 5a1dfdc30684b78197425d6fcf6ae134cf27dd55 Mon Sep 17 00:00:00 2001 From: Par Winzell Date: Mon, 27 Apr 2009 21:58:31 +0000 Subject: [PATCH] I should be shot for writing this code originally. I can hardly think of a place where the exception is more important to see. --- src/java/com/samskivert/depot/impl/SQLBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/com/samskivert/depot/impl/SQLBuilder.java b/src/java/com/samskivert/depot/impl/SQLBuilder.java index 0517db5..5eaa403 100644 --- a/src/java/com/samskivert/depot/impl/SQLBuilder.java +++ b/src/java/com/samskivert/depot/impl/SQLBuilder.java @@ -85,7 +85,7 @@ public abstract class SQLBuilder try { bindable.doBind(conn, stmt, argIx); } catch (Exception e) { - log.warning("Failed to bind statement argument", "argIx", argIx); + log.warning("Failed to bind statement argument", "argIx", argIx, e); } argIx ++; }