From c76675f11ac47dac77cb8109873ce7adf913231e Mon Sep 17 00:00:00 2001 From: Vlad Mihalcea Date: Tue, 25 Feb 2020 18:29:43 +0200 Subject: [PATCH] Changes according to PR review. Requires rebase! --- .../java/org/hibernate/engine/jdbc/spi/SqlStatementLogger.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/SqlStatementLogger.java b/hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/SqlStatementLogger.java index 2c4515bdfc..4c5e9c9746 100644 --- a/hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/SqlStatementLogger.java +++ b/hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/SqlStatementLogger.java @@ -156,7 +156,7 @@ public class SqlStatementLogger { return; } if ( startTimeNanos <= 0 ) { - throw new IllegalArgumentException( "startTimeNanos should be greater than 0!" ); + throw new IllegalArgumentException( "startTimeNanos [" + startTimeNanos + "] should be greater than 0!" ); } long queryExecutionMillis = TimeUnit.NANOSECONDS.toMillis( System.nanoTime() - startTimeNanos );