From bb4aa103fb91a2de61b0fd50e10e3e638b882d46 Mon Sep 17 00:00:00 2001 From: Jon Seager Date: Tue, 10 Feb 2026 17:16:35 +0000 Subject: [PATCH] fix: add success logging for deferred image saves Log at info level when a deferred image is successfully saved, matching the project convention that every create/update operation logs with entity context. --- src/application/routes/api/images.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/application/routes/api/images.rs b/src/application/routes/api/images.rs index 2ab14d9..41468ec 100644 --- a/src/application/routes/api/images.rs +++ b/src/application/routes/api/images.rs @@ -271,6 +271,8 @@ pub(crate) async fn save_deferred_image( }; if let Err(err) = state.image_repo.upsert(image).await { tracing::warn!(entity_type, entity_id, error = %err, "failed to save deferred image"); + } else { + info!(entity_type, entity_id, "deferred image saved"); } }