From b3ce2e9f0bd203e52e1569999eafa3384a75cf76 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 22 Aug 2023 04:43:11 +0200 Subject: [PATCH] Removed debug info superfluous logging --- todored/src/routes/board/axum.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/todored/src/routes/board/axum.rs b/todored/src/routes/board/axum.rs index 24aa572..d50c9c2 100644 --- a/todored/src/routes/board/axum.rs +++ b/todored/src/routes/board/axum.rs @@ -15,8 +15,6 @@ pub(crate) async fn handler( let board = board.to_kebab_lowercase(); log::trace!("Kebabified board name to: {board:?}"); - log::info!("{}", serde_json::ser::to_string(&BoardAction::Task(Some(Uuid::new_v4()), Some(Task { text: "Hello world".to_string(), icon: TaskIcon::Bell, importance: TaskImportance::High, priority: TaskPriority::Highest, status: TaskStatus::Complete }))).unwrap()); - log::trace!("Received websocket request, upgrading..."); upgrade_request.on_upgrade(|websocket| ws::handler(board, rclient, websocket)) }