Skip to content

Commit

Permalink
fix build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Sauer committed Oct 14, 2018
1 parent bc4f671 commit 526a1d0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -192,7 +192,7 @@ class JDBCOptions(
parameters.get(JDBC_CONNECTION_FACTORY_PROVIDER).map { className => try {
Utils.classForName(className).newInstance.asInstanceOf[ConnectionFactoryProvider]
} catch {
case _ =>
case _ : Throwable =>
throw new IllegalArgumentException(s"$className is not a valid ConnectionFactoryProvider")
}
}.getOrElse(DefaultConnectionFactoryProvider)
Expand Down

0 comments on commit 526a1d0

Please sign in to comment.