Catch Throwable

This commit is contained in:
fogelito 2024-09-27 10:50:09 +03:00
parent 26f0efc34d
commit 7389c9a5fe

View file

@ -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());
/**