diff --git a/composer.lock b/composer.lock index 7ab848dbc..85b6cf15e 100644 --- a/composer.lock +++ b/composer.lock @@ -1560,12 +1560,12 @@ "source": { "type": "git", "url": "https://github.com/utopia-php/database.git", - "reference": "c3b76a5dd864791744168dcc6fb32eb159a08691" + "reference": "180bb663bdd0050ae24886808ea34eafc8c4e5e8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/database/zipball/c3b76a5dd864791744168dcc6fb32eb159a08691", - "reference": "c3b76a5dd864791744168dcc6fb32eb159a08691", + "url": "https://api.github.com/repos/utopia-php/database/zipball/180bb663bdd0050ae24886808ea34eafc8c4e5e8", + "reference": "180bb663bdd0050ae24886808ea34eafc8c4e5e8", "shasum": "" }, "require": { @@ -1609,7 +1609,7 @@ "issues": "https://github.com/utopia-php/database/issues", "source": "https://github.com/utopia-php/database/tree/fix-transaction-rollback" }, - "time": "2024-03-28T09:11:01+00:00" + "time": "2024-03-28T09:46:18+00:00" }, { "name": "utopia-php/domains", diff --git a/docker-compose.yml b/docker-compose.yml index 27f34c854..58dff5690 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -84,7 +84,6 @@ services: - ./public:/usr/src/code/public - ./src:/usr/src/code/src - ./dev:/usr/src/code/dev - - ./vendor/utopia-php/database:/usr/src/code/vendor/utopia-php/database depends_on: - mariadb - redis diff --git a/src/Appwrite/Extend/Exception.php b/src/Appwrite/Extend/Exception.php index 3b26fbac4..eb3845e8b 100644 --- a/src/Appwrite/Extend/Exception.php +++ b/src/Appwrite/Extend/Exception.php @@ -302,7 +302,7 @@ class Exception extends \Exception $this->type = $type; $this->code = $code ?? $this->errors[$type]['code']; - // shmuel + // todo: Handle better PDOExceptions if(is_string($this->code)){ $this->code = 500; }