better explainatory error

This commit is contained in:
Nickiel12 2021-12-19 00:43:49 -08:00
parent 1f87e1a1b3
commit 67f7f2a8e8

View file

@ -52,7 +52,7 @@ impl StateUpdate {
//Unimplemented //Unimplemented
"Next_Slide" | "Next_Slide" |
"Prev_Slide" | "Prev_Slide" |
_ => {panic!("trying to use a button type I don't know!")} _ => {panic!("trying to use a button type I don't know!: {}", value)}
} }
}, },
"Timer_Length" => { "Timer_Length" => {