diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-06-09 14:33:39 +0200 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@atos.net> | 2021-06-09 14:33:43 +0200 |
commit | 6798e208d134f11c753489cacbdb5661d5333207 (patch) | |
tree | 8c2bedc6729fb822f34769b90c57952de4d97500 /src/ui.rs | |
parent | bdd4776e95a84199221527685bc8a4124d5d73d2 (diff) | |
parent | 7ebc7d978a31c14a8f90db8540c8c43829e899ba (diff) |
Merge branch 'error-output'
Diffstat (limited to 'src/ui.rs')
-rw-r--r-- | src/ui.rs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -16,6 +16,7 @@ use std::path::Path; use std::path::PathBuf; use anyhow::anyhow; +use anyhow::Context; use anyhow::Error; use anyhow::Result; use handlebars::Handlebars; @@ -114,7 +115,7 @@ fn print_package( package, config.available_phases(), *config.strict_script_interpolation(), - )?; + ).context("Rendering script for printing it failed")?; let script = crate::ui::script_to_printable( &script, |