mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 15:06:06 +00:00
ref
This commit is contained in:
@@ -310,7 +310,12 @@ class RecoveryService
|
||||
|
||||
$this->createCleanupRequestJob($entity->getId(), $lifetime);
|
||||
|
||||
$this->send($entity->getRequestId(), $emailAddress, $user);
|
||||
try {
|
||||
$this->send($entity->getRequestId(), $emailAddress, $user);
|
||||
}
|
||||
catch (SendingError $e) {
|
||||
throw new Error("Email sending error. " . $e->getMessage());
|
||||
}
|
||||
|
||||
return $entity;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user