parent
de0722b430
commit
b03382f687
6 changed files with 33 additions and 32 deletions
|
@ -1,6 +1,6 @@
|
|||
use std::mem::replace;
|
||||
|
||||
use miette::{Result, miette};
|
||||
use miette::{miette, Result};
|
||||
use sqlx::{Connection, SqliteConnection};
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
|
|
|
@ -181,7 +181,7 @@ impl TryFrom<PathBuf> for Background {
|
|||
}
|
||||
}
|
||||
Err(e) => {
|
||||
error!("Couldn't canonicalize: {e} {:?}", path);
|
||||
// error!("Couldn't canonicalize: {e} {:?}", path);
|
||||
Err(ParseError::CannotCanonicalize)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,8 +11,8 @@ use crisp::types::{Keyword, Symbol, Value};
|
|||
use miette::{IntoDiagnostic, Result};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use sqlx::{
|
||||
Sqlite, SqliteConnection, SqlitePool, pool::PoolConnection,
|
||||
query, query_as,
|
||||
pool::PoolConnection, query, query_as, Sqlite, SqliteConnection,
|
||||
SqlitePool,
|
||||
};
|
||||
use std::path::PathBuf;
|
||||
use tracing::error;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue