(fix): remove no-effect 'use Throwable' statement in shared api controller

This commit is contained in:
Chirag Aggarwal committed 2026-07-03 17:59:01 +05:30
1 parent 81fa1f7bd2
commit 08996cc824
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.
}
});