Skip to content

Commit ea020db

Browse files
committed
added debug log when reading files from the databse
see #438 (reply in thread)
1 parent be87a8c commit ea020db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/filesystem.rs

+1
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ impl DbFsQueries {
199199
}
200200

201201
async fn read_file(&self, app_state: &AppState, path: &Path) -> anyhow::Result<Vec<u8>> {
202+
log::debug!("Reading file {} from the database", path.display());
202203
self.read_file
203204
.query_as::<(Vec<u8>,)>()
204205
.bind(path.display().to_string())

0 commit comments

Comments
 (0)