aboutsummaryrefslogtreecommitdiffstats
path: root/mktreasurer
diff options
context:
space:
mode:
Diffstat (limited to 'mktreasurer')
-rwxr-xr-xmktreasurer3
1 files changed, 2 insertions, 1 deletions
diff --git a/mktreasurer b/mktreasurer
index 8501435..1f1614b 100755
--- a/mktreasurer
+++ b/mktreasurer
@@ -177,7 +177,8 @@ sub process_template {
my ($template, $src, $vars, $dest) = @_;
foreach my $extension (@{$config->{output_format}}) {
next unless -f "$config->{tmpl_dir}/$src.$extension";
- $template->process("$src.$extension", $vars, "$dest.$extension");
+ $template->process("$src.$extension", $vars, "$dest.$extension")
+ || die $template->error(), "\n";
}
}