Skip to content

Commit

Permalink
chore: revert corruption log message (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ybsandu authored Dec 18, 2023
1 parent 30dc51e commit af10af7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ void recoverFromCorruption() throws SQLException {

// hold connection lock throughout recovery to prevent incoming operations from executing
try (LockScope ls = LockScope.lock(connectionLock.writeLock())) {
LOGGER.atWarn().kv(KV_URL, url).log("Database is corrupted, creating new database");
LOGGER.atWarn().kv(KV_URL, url).log("Database {} is corrupted, creating new database", databasePath);
close();
try {
Files.deleteIfExists(databasePath);
Expand Down

0 comments on commit af10af7

Please sign in to comment.