Skip to content

Commit

Permalink
blueprint: Change "not found" error message
Browse files Browse the repository at this point in the history
  • Loading branch information
yuraiz committed Jan 16, 2023
1 parent 73dc4f0 commit 18c1154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gtk4-macros/src/blueprint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub(crate) fn compile_blueprint(blueprint: &[u8]) -> Result<String> {
.stdin(Stdio::piped())
.stdout(Stdio::piped())
.spawn()
.expect("blueprint-compiler not found");
.unwrap_or_else(|_| panic!("blueprint-compiler not found"));

let mut stdin = compiler.stdin.take().unwrap();
stdin.write_all(b"using Gtk 4.0;\n")?;
Expand Down

0 comments on commit 18c1154

Please sign in to comment.