Main: Improve error logging for writing to the output path
This commit is contained in:
parent
368e478e59
commit
e02993be2a
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ fn main() -> Result<()> {
|
||||||
|
|
||||||
let output = handlebars.render_template(contents.as_str(), &Value::Object(data_map))?;
|
let output = handlebars.render_template(contents.as_str(), &Value::Object(data_map))?;
|
||||||
|
|
||||||
fs::write(output_path, output)?;
|
fs::write(output_path, output).expect("To be able to write to {output_path}");
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue