fix return function definition

This commit is contained in:
2019-09-16 23:12:28 +02:00
parent 2f9f397f50
commit 88c45aaf77
2 changed files with 5 additions and 5 deletions

View File

@@ -252,7 +252,7 @@ class Connection(
val start = System.currentTimeMillis()
val result = callback()
val duration = (System.currentTimeMillis() - start)
logger?.debug("$duration ms for query: $sqlForLog", values)
logger?.debug("$duration ms for query: $sqlForLog \n {}", values.joinToString(", "))
return result
} catch (e: Throwable) {
logger?.info("Query Error: $sqlForLog, $values", e)