added more logs
This commit is contained in:
parent
4f208c8ec5
commit
40a7655cea
@ -307,7 +307,9 @@ pub async fn start_animation(
|
||||
start_sender: &State<ASender<Animation>>,
|
||||
db: &State<DBPool>,
|
||||
) -> String {
|
||||
println!("try to get animation!");
|
||||
let animation = get_animation(name, db);
|
||||
println!("{?:animation}!");
|
||||
|
||||
if animation.is_err() || animation.as_ref().ok().is_none() {
|
||||
return json!(ApiResponse {
|
||||
|
Loading…
Reference in New Issue
Block a user