Add debug logging.

pull/13/head
Brett Wooldridge 11 years ago
parent 04d515e90f
commit ce15a8e011

@ -419,6 +419,7 @@ public class HikariClassTransformer implements ClassFileTransformer
{ {
if ("java.sql.SQLException".equals(exception.getName())) // only add check to methods throwing SQLException if ("java.sql.SQLException".equals(exception.getName())) // only add check to methods throwing SQLException
{ {
LOGGER.debug("Injecting _checkClosed() call into {}{}", method.getName(), method.getSignature());
method.insertBefore("_checkClosed();"); method.insertBefore("_checkClosed();");
break; break;
} }

Loading…
Cancel
Save