mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 00:49:02 +00:00
Fixed account tests
This commit is contained in:
parent
46ab7b1a36
commit
beeb66e66d
1 changed files with 1 additions and 1 deletions
|
|
@ -704,7 +704,7 @@ Http::error()
|
|||
}
|
||||
|
||||
/** Handle Utopia Errors */
|
||||
if ($error instanceof Utopia\Http\Exception) {
|
||||
if ($error instanceof Utopia\Http\Exception || $error instanceof Utopia\Servers\Exception) {
|
||||
$error = new AppwriteException(AppwriteException::GENERAL_UNKNOWN, $message, $code, $error);
|
||||
switch ($code) {
|
||||
case 400:
|
||||
|
|
|
|||
Loading…
Reference in a new issue