diff --git a/app/controllers/general.php b/app/controllers/general.php index 138e96f88a..416e6b1e86 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -1159,9 +1159,6 @@ App::error() Console::error('[Error] Line: ' . $line); } - // routes like /tables, /tables/:tableId, etc. - $isTablesAPI = str_contains($route->getPath(), '/databases/:databaseId/tables'); - switch ($class) { case 'Utopia\Exception': $error = new AppwriteException(AppwriteException::GENERAL_UNKNOWN, $message, $code, $error);