diff --git a/lib/IdPAccountManager/WebRequest.pm b/lib/IdPAccountManager/WebRequest.pm index 697131dcdb14c102ae7b38f337d9330e6f97e1a5..4062b86703cbfaaad85f2c0906523715fc5fffc9 100755 --- a/lib/IdPAccountManager/WebRequest.pm +++ b/lib/IdPAccountManager/WebRequest.pm @@ -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; }