From 54c407ba3ef9888a17909151c0b1a2a287497249 Mon Sep 17 00:00:00 2001 From: JMS55 <47158642+JMS55@users.noreply.github.com> Date: Sun, 10 Dec 2023 12:57:00 -0800 Subject: [PATCH] Tweak error message --- src/apply_mutations.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/apply_mutations.rs b/src/apply_mutations.rs index 4ea3d66..f0dc9b9 100644 --- a/src/apply_mutations.rs +++ b/src/apply_mutations.rs @@ -93,7 +93,9 @@ impl BevyTemplateNode { children, } => { if *tag != "div" { - panic!("Unsupported bevy_dioxus tag {tag}. Only `div` is supported."); + panic!( + "Encountered unsupported bevy_dioxus tag `{tag}`. Only `div` is supported." + ); } Self::Node { children: children.iter().map(Self::from_dioxus).collect(),