Favour individual logs over one in main

This commit is contained in:
Thomas Eizinger 2021-03-04 16:52:29 +11:00
parent 2041f367c6
commit d0db6cba10
No known key found for this signature in database
GPG key ID: 651AC83A6C6C8B96
3 changed files with 3 additions and 6 deletions

View file

@ -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))?;