This commit is contained in:
Andras Schmelczer 2025-03-16 17:52:40 +00:00
parent a1a7b200c0
commit 7bf7790e1f
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
3 changed files with 2 additions and 4 deletions

View file

@ -44,7 +44,7 @@ impl Config {
pub async fn load_from_file(path: &Path) -> Result<Self> {
let contents = fs::read_to_string(path).await.with_context(|| {
format!(
"Cannot load configuration from disk from ({})",
"Cannot load configuration from disk from {}",
path.display()
)
})?;

View file

@ -79,7 +79,7 @@ impl Database {
.test_before_acquire(true)
.connect_with(connection_options)
.await
.with_context(|| format!("Cannot open database at '{}'", file_name.display()))?;
.with_context(|| format!("Cannot open database at {}", file_name.display()))?;
Self::run_migrations(&pool).await?;