fix(cli): report context on compile fail

(cherry picked from commit 62effdf128)
This commit is contained in:
Firas al-Khalil 2025-12-26 12:31:08 +01:00 committed by Christian Clason
parent 3c49fef0e3
commit 789a966f96

View file

@ -984,7 +984,7 @@ impl Build {
loader
.compile_parser_at_path(&grammar_path, output_path, flags)
.unwrap();
.context("Failed to compile parser")?;
}
Ok(())
}