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

abort in case of notification error

parent 1447d1a0
Branches
Tags
No related merge requests found
...@@ -415,7 +415,11 @@ sub req_generate_token { ...@@ -415,7 +415,11 @@ sub req_generate_token {
} }
); );
}; };
$self->{logger}->errorf("Error TT2 : %s", $EVAL_ERROR) if $EVAL_ERROR; if ($EVAL_ERROR) {
push @{ $self->{out}->{errors} }, "mail_notification_error";
$self->{logger}->errorf("Mail notification error: %s", $EVAL_ERROR);
return undef;
}
$self->{logger}->infof( $self->{logger}->infof(
"Token send to %s for sp_entityid=%s;token=%s", "Token send to %s for sp_entityid=%s;token=%s",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment