diff --git a/bytebeat_compiler.py b/bytebeat_compiler.py index e2107bc..a8eec5b 100644 --- a/bytebeat_compiler.py +++ b/bytebeat_compiler.py @@ -90,6 +90,7 @@ def substitute_vars(replacements: Dict[str, Union[bool, str]], text: str, def run_command(*command: list[str]) -> None: print("[>]", command_line_join(command), flush=True) if subprocess.run(command).returncode != EXIT_SUCCESS: + print("An error occured during rendering!") raise SystemExit(EXIT_FAILURE) def compile_substituted_file(input_file: str, output_file: str) -> None: