Improve client logging.
Some checks failed
Linting and tests / Linting (push) Failing after 4s
Linting and tests / Tests (push) Failing after 3s

This commit is contained in:
2025-09-10 20:04:19 +05:00
parent e3b9c9ae40
commit c2142cc1a6
15 changed files with 118 additions and 44 deletions

View File

@@ -2,7 +2,6 @@ package database
import (
"fmt"
"log/slog"
"os"
"path/filepath"
@@ -24,7 +23,7 @@ func (d *database) configureDBPath() error {
d.dbPath = filepath.Join(rootDir, "database.sqlite3")
slog.Info("Database path configured.", "path", d.dbPath)
d.logger.Info("Database path configured.", "path", d.dbPath)
return nil
}