From fd0d6969721e975849ce87456f51027c00734f28 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Thu, 7 Mar 2024 12:04:46 -0600 Subject: [PATCH] adding debug info for song updates --- src/rust/songs/song_model.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rust/songs/song_model.rs b/src/rust/songs/song_model.rs index ab5e61b..5ea7b1a 100644 --- a/src/rust/songs/song_model.rs +++ b/src/rust/songs/song_model.rs @@ -594,6 +594,8 @@ impl song_model::SongModel { let result = update(songs.filter(id.eq(song_id))) .set(audio.eq(updated_audio.to_string())) .execute(db); + debug!(?result); + debug!(?updated_audio); match result { Ok(_i) => { if let Some(song) =