1
0
Fork 0
mirror of synced 2024-09-28 07:21:35 +12:00

Fixed missing exception

This commit is contained in:
eldadfux 2019-08-27 12:26:20 +03:00
parent 1f6c0c6438
commit 3dafbda602
2 changed files with 5 additions and 5 deletions

View file

@ -146,7 +146,7 @@ $utopia->post('/v1/auth/register')
try {
$mail->send();
}
catch(Exception $error) {
catch(\Exception $error) {
// if($failure) {
// $response->redirect($failure);
// return;
@ -286,7 +286,7 @@ $utopia->post('/v1/auth/register/confirm/resend')
try {
$mail->send();
}
catch(Exception $error) {
catch(\Exception $error) {
//throw new Exception('Problem sending mail: ' . $error->getError(), 500);
}
@ -518,7 +518,7 @@ $utopia->post('/v1/auth/recovery')
try {
$mail->send();
}
catch(Exception $error) {
catch(\Exception $error) {
//throw new Exception('Problem sending mail: ' . $error->getError(), 500);
}

View file

@ -382,7 +382,7 @@ $utopia->post('/v1/teams/:teamId/memberships')
try {
$mail->send();
}
catch(Exception $error) {
catch(\Exception $error) {
//throw new Exception('Problem sending mail: ' . $error->getError(), 500);
}
@ -463,7 +463,7 @@ $utopia->post('/v1/teams/:teamId/memberships/:inviteId/resend')
try {
$mail->send();
}
catch(Exception $error) {
catch(\Exception $error) {
//throw new Exception('Problem sending mail: ' . $error->getError(), 500);
}