fix(cli): report context on compile fail

This commit is contained in:
Firas al-Khalil 2025-12-26 12:31:08 +01:00 committed by Will Lillis
parent 8e4f21aba0
commit 62effdf128

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(())
}