Unverified Commit 504dbeb6 authored by boklm's avatar boklm
Browse files

Exit with error in case of error in template

parent 12246b4b
......@@ -281,7 +281,8 @@ sub make_report {
}
foreach my $tbbfile (keys %results) {
$vars->{tbbfile} = $tbbfile;
$template->process('report.html', $vars, "$tbbfile.html", binmode => ':utf8');
$template->process('report.html', $vars, "$tbbfile.html",
binmode => ':utf8') || exit_error "Template Error:\n" . $template->error;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment