Skip to content

Commit

Permalink
Remove config from exception when Hikari data source can't be created (
Browse files Browse the repository at this point in the history
…#2503)

Co-authored-by: Jules Ivanic <guizmaii@users.noreply.github.com>
  • Loading branch information
mdulac and guizmaii committed Sep 17, 2023
1 parent 6af8fc6 commit 9b6e8bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ case class JdbcContextConfig(config: Config) {
new HikariDataSource(new HikariConfig(configProperties))
catch {
case NonFatal(ex) =>
throw new IllegalStateException(s"Failed to load data source for config: '$config'", ex)
throw new IllegalStateException("Failed to load data source", ex)
}
}

0 comments on commit 9b6e8bb

Please sign in to comment.