Merge pull request #12780 from appwrite/fix/remove-throwable-use-statement

Fix: remove no-effect `use Throwable;` in shared api controller
This commit is contained in:
Chirag Aggarwal authored and GitHub committed 2026-07-03 18:13:00 +05:30
commit eb760f4300
1 file changed
+1 -2
+1 -2
View File
@@ -24,7 +24,6 @@ use Appwrite\Usage\Context;
use Appwrite\Utopia\Database\Documents\User;
use Appwrite\Utopia\Request;
use Appwrite\Utopia\Response;
use Throwable;
use Utopia\Abuse\Abuse;
use Utopia\Bus\Bus;
use Utopia\Cache\Adapter\Filesystem;
@@ -1177,7 +1176,7 @@ Http::shutdown()
$authorization->skip(fn () => $dbForPlatform->updateDocument('projects', $project->getId(), new Document([
'onboarding' => $byMethod,
])));
} catch (Throwable) {
} catch (\Throwable) {
// Missing `onboarding` attribute on upgraded installs must not break the request lifecycle.
}
});