diff options
Diffstat (limited to 'mktreasurer')
-rwxr-xr-x | mktreasurer | 3 |
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"; } } |