Add tracing to EXIF DAO methods
This commit is contained in:
@@ -50,7 +50,7 @@ impl DatabaseUpdater {
|
||||
|
||||
// Update image_exif table
|
||||
if let Ok(mut dao) = self.exif_dao.lock() {
|
||||
match dao.update_file_path(old_path, new_path) {
|
||||
match dao.update_file_path(&context, old_path, new_path) {
|
||||
Ok(_) => {
|
||||
info!("Updated image_exif: {} -> {}", old_path, new_path);
|
||||
success_count += 1;
|
||||
@@ -120,7 +120,7 @@ impl DatabaseUpdater {
|
||||
|
||||
// Get from image_exif
|
||||
if let Ok(mut dao) = self.exif_dao.lock() {
|
||||
match dao.get_all_file_paths() {
|
||||
match dao.get_all_file_paths(&context) {
|
||||
Ok(paths) => {
|
||||
info!("Found {} paths in image_exif", paths.len());
|
||||
all_paths.extend(paths);
|
||||
|
||||
Reference in New Issue
Block a user