feat: add tracing throughout, HTTP TraceLayer, detailed error logs

This commit is contained in:
2026-07-11 21:58:58 +02:00
parent e89cf48b34
commit 2b702d88e4
11 changed files with 60 additions and 13 deletions

View File

@@ -8,12 +8,15 @@ pub async fn execute(
deps: &SongCommandDeps,
cmd: UpdateSongMetaCommand,
) -> Result<SongSummary, DomainError> {
deps.repo
let result = deps
.repo
.update_meta(
cmd.id,
cmd.title.as_deref(),
cmd.artist.as_deref(),
cmd.original_key.as_deref(),
)
.await
.await?;
tracing::debug!(id = %cmd.id, "song meta updated");
Ok(result)
}