less verbosity

This commit is contained in:
yuni 2024-03-20 06:02:06 +01:00
parent 31dc79ddab
commit 71f66426c5

View file

@ -386,7 +386,7 @@ impl ParserState {
} }
fn spawn_chatbranch(&self, commands: &mut Commands) { fn spawn_chatbranch(&self, commands: &mut Commands) {
if self.stores_item { if self.stores_item {
info!("{:#?}", self.as_chatbranch()); debug!("{:#?}", self.as_chatbranch());
commands.spawn(self.as_chatbranch()); commands.spawn(self.as_chatbranch());
} }
} }
@ -407,7 +407,7 @@ pub fn load_defs(
let caps = re1.captures(line); let caps = re1.captures(line);
if caps.is_none() { if caps.is_none() {
if line.trim() != "" { if line.trim() != "" {
info!("Syntax Error in definitions line {}: `{}`", line_nr, line); warn!("Syntax Error in definitions line {}: `{}`", line_nr, line);
} }
continue; continue;
} }