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