Skip to content
Snippets Groups Projects
Commit bbd710eb authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

get actual error from TT2 object

parent 114d3421
No related branches found
No related tags found
No related merge requests found
......@@ -393,7 +393,7 @@ sub req_generate_token {
unless ($tt2->process($template, $data, $handle)) {
push @{ $self->{out}->{errors} }, "mail_notification_error";
$self->{logger}->errorf("Mail notification error: %s", $EVAL_ERROR);
$self->{logger}->errorf("Mail notification error: %s", $tt2->error());
return undef;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment