mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
feat: remove var_dump
This commit is contained in:
parent
126d82c4ce
commit
8d46af0dc2
1 changed files with 0 additions and 4 deletions
|
|
@ -77,8 +77,6 @@ class DatabaseV1 extends Worker
|
||||||
* Fetch attribute from the database, since with Resque float values are loosing informations.
|
* Fetch attribute from the database, since with Resque float values are loosing informations.
|
||||||
*/
|
*/
|
||||||
$attribute = $dbForProject->getDocument('attributes', $attribute->getId());
|
$attribute = $dbForProject->getDocument('attributes', $attribute->getId());
|
||||||
var_dump($attribute);
|
|
||||||
var_dump($attribute->getId());
|
|
||||||
|
|
||||||
$collectionId = $collection->getId();
|
$collectionId = $collection->getId();
|
||||||
$key = $attribute->getAttribute('key', '');
|
$key = $attribute->getAttribute('key', '');
|
||||||
|
|
@ -99,8 +97,6 @@ class DatabaseV1 extends Worker
|
||||||
}
|
}
|
||||||
$dbForProject->updateDocument('attributes', $attribute->getId(), $attribute->setAttribute('status', 'available'));
|
$dbForProject->updateDocument('attributes', $attribute->getId(), $attribute->setAttribute('status', 'available'));
|
||||||
} catch (\Throwable $th) {
|
} catch (\Throwable $th) {
|
||||||
var_dump($th->getTraceAsString());
|
|
||||||
var_dump($attribute->getArrayCopy());
|
|
||||||
Console::error($th->getMessage());
|
Console::error($th->getMessage());
|
||||||
$dbForProject->updateDocument('attributes', $attribute->getId(), $attribute->setAttribute('status', 'failed'));
|
$dbForProject->updateDocument('attributes', $attribute->getId(), $attribute->setAttribute('status', 'failed'));
|
||||||
} finally {
|
} finally {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue