Currently, if there are syntax errors detected in the starlark rules file, the entire policy is silently ignored by the CLI. The app server correctly emits a message that can be displayed in a GUI. This PR changes the CLI (both the TUI and non-interactive exec) to fail when the rules file can't be parsed. It then prints out an error message and exits with a non-zero exit code. This is consistent with the handling of errors in the config file. This addresses #11603 |
||
|---|---|---|
| .. | ||
| cli.rs | ||
| event_processor.rs | ||
| event_processor_with_human_output.rs | ||
| event_processor_with_jsonl_output.rs | ||
| exec_events.rs | ||
| lib.rs | ||
| main.rs | ||