mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-05 21:14:32 -04:00
Favour individual logs over one in main
This commit is contained in:
parent
2041f367c6
commit
d0db6cba10
3 changed files with 3 additions and 6 deletions
|
@ -51,6 +51,8 @@ pub struct Database(sled::Db);
|
|||
|
||||
impl Database {
|
||||
pub fn open(path: &Path) -> Result<Self> {
|
||||
tracing::debug!("Opening database at {}", path.display());
|
||||
|
||||
let db =
|
||||
sled::open(path).with_context(|| format!("Could not open the DB at {:?}", path))?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue