From cb25df84463039c77a15b51f4f5a95ec8d1dcd49 Mon Sep 17 00:00:00 2001 From: Andre Henriques Date: Tue, 23 May 2023 20:19:36 +0100 Subject: [PATCH] updated logs --- src/animations.rs | 2 +- src/main.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/animations.rs b/src/animations.rs index 4ed2ae5..25cd049 100644 --- a/src/animations.rs +++ b/src/animations.rs @@ -335,7 +335,7 @@ pub async fn start_animation( if r.is_err() || r.as_ref().ok().is_none() { return json!(ApiResponse { code: 500, - message: "Probelms with the db".to_string() + message: "Probelms with the sender".to_string() }) .to_string(); } diff --git a/src/main.rs b/src/main.rs index cac6387..ee67f41 100644 --- a/src/main.rs +++ b/src/main.rs @@ -140,6 +140,8 @@ fn ligth_controll( render.remove_animation(ani.ok().unwrap()); } + println("loop"); + render.render(); }