From 33a27d4d9288bf7b5cb030def4b1aeaccafc640a Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Thu, 23 Sep 2021 13:20:34 +1000 Subject: [PATCH] Don't dbg log the latest state --- daemon/src/db.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/daemon/src/db.rs b/daemon/src/db.rs index 0747253..b374d8c 100644 --- a/daemon/src/db.rs +++ b/daemon/src/db.rs @@ -234,8 +234,7 @@ async fn load_latest_cfd_state( .fetch_one(conn) .await?; - let latest_cfd_state_in_db: CfdState = - serde_json::from_str(dbg!(latest_cfd_state).state.as_str())?; + let latest_cfd_state_in_db: CfdState = serde_json::from_str(latest_cfd_state.state.as_str())?; Ok(latest_cfd_state_in_db) }