diff --git a/ktorm-core/src/main/kotlin/org/ktorm/database/Database.kt b/ktorm-core/src/main/kotlin/org/ktorm/database/Database.kt index 070216a1..4ff0c17d 100644 --- a/ktorm-core/src/main/kotlin/org/ktorm/database/Database.kt +++ b/ktorm-core/src/main/kotlin/org/ktorm/database/Database.kt @@ -118,7 +118,7 @@ public class Database( /** * Function used to translate SQL exceptions to rethrow them to users. */ - public val exceptionTranslator: ((SQLException) -> Throwable)? = null, + public val exceptionTranslator: ((SQLException) -> Throwable?)? = null, /** * Whether we need to always quote SQL identifiers in the generated SQLs.