1
Fork 0
mirror of https://github.com/Steffo99/todocolors.git synced 2024-11-22 08:14:18 +00:00

Removed debug info superfluous logging

This commit is contained in:
Steffo 2023-08-22 04:43:11 +02:00
parent 8bcedd9fbf
commit b3ce2e9f0b
Signed by: steffo
GPG key ID: 2A24051445686895

View file

@ -15,8 +15,6 @@ pub(crate) async fn handler(
let board = board.to_kebab_lowercase(); let board = board.to_kebab_lowercase();
log::trace!("Kebabified board name to: {board:?}"); 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..."); log::trace!("Received websocket request, upgrading...");
upgrade_request.on_upgrade(|websocket| ws::handler(board, rclient, websocket)) upgrade_request.on_upgrade(|websocket| ws::handler(board, rclient, websocket))
} }