mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Fixed missing exception
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user