From dc439d1a1670f9a61bcb24ae5106f282f167f744 Mon Sep 17 00:00:00 2001 From: Darshan Date: Wed, 11 Jun 2025 16:46:21 +0530 Subject: [PATCH] update: remove authorization from global handler. --- app/controllers/general.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/controllers/general.php b/app/controllers/general.php index 6602198c0b..3a2a4c9d16 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -1177,9 +1177,6 @@ App::error() case 'Utopia\Database\Exception\Timeout': $error = new AppwriteException(AppwriteException::DATABASE_TIMEOUT, previous: $error); break; - case 'Utopia\Database\Exception\Authorization': - $error = new AppwriteException(AppwriteException::USER_UNAUTHORIZED); - break; case 'Utopia\Database\Exception\NotFound': $error = new AppwriteException( $isTablesAPI