Skip to content

Commit

Permalink
fix null connection
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomahawkd committed Jul 16, 2020
1 parent 6acfc39 commit 772b133
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ public AbstractRecorder(@NotNull RecorderDelegate delegate) {
logger.debug("Database connection url constructed: " + url);
connection = DriverManager.getConnection(url,
delegate.getUsername(), delegate.getPassword());
init();
delegate.preInit(connection);
init();
} catch (SQLException e) {
logger.fatal("Database initialization failed.");
logger.fatal(e.getMessage());
Expand Down

0 comments on commit 772b133

Please sign in to comment.