mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
Catch Throwable
This commit is contained in:
parent
26f0efc34d
commit
7389c9a5fe
1 changed files with 1 additions and 1 deletions
|
|
@ -507,7 +507,7 @@ class Deletes extends Action
|
|||
if ($dsn->getHost() !== System::getEnv('_APP_DATABASE_SHARED_TABLES', '') || !\in_array($collection->getId(), $projectCollectionIds)) {
|
||||
try {
|
||||
$dbForProject->deleteCollection($collection->getId());
|
||||
} catch (DatabaseException $e) {
|
||||
} catch (Throwable $e) {
|
||||
Console::error('Error deleting '.$collection->getId().' '.$e->getMessage());
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue