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
Branches
Tags
No related merge requests found
...@@ -393,7 +393,7 @@ sub req_generate_token { ...@@ -393,7 +393,7 @@ sub req_generate_token {
unless ($tt2->process($template, $data, $handle)) { unless ($tt2->process($template, $data, $handle)) {
push @{ $self->{out}->{errors} }, "mail_notification_error"; 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; return undef;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment