mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 16:38:32 +00:00
rollback: auth exception as per 1.8.x source.
This commit is contained in:
parent
3e1adc6004
commit
8e2eff7894
1 changed files with 3 additions and 0 deletions
|
|
@ -1171,6 +1171,9 @@ App::error()
|
|||
break;
|
||||
}
|
||||
break;
|
||||
case 'Utopia\Database\Exception\Authorization':
|
||||
$error = new AppwriteException(AppwriteException::USER_UNAUTHORIZED);
|
||||
break;
|
||||
case 'Utopia\Database\Exception\Timeout':
|
||||
$error = new AppwriteException(AppwriteException::DATABASE_TIMEOUT, previous: $error);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue