feat: remove var_dump

This commit is contained in:
Christy Jacob 2022-07-16 11:34:41 +05:30
parent 126d82c4ce
commit 8d46af0dc2

View file

@ -77,8 +77,6 @@ class DatabaseV1 extends Worker
* Fetch attribute from the database, since with Resque float values are loosing informations.
*/
$attribute = $dbForProject->getDocument('attributes', $attribute->getId());
var_dump($attribute);
var_dump($attribute->getId());
$collectionId = $collection->getId();
$key = $attribute->getAttribute('key', '');
@ -99,8 +97,6 @@ class DatabaseV1 extends Worker
}
$dbForProject->updateDocument('attributes', $attribute->getId(), $attribute->setAttribute('status', 'available'));
} catch (\Throwable $th) {
var_dump($th->getTraceAsString());
var_dump($attribute->getArrayCopy());
Console::error($th->getMessage());
$dbForProject->updateDocument('attributes', $attribute->getId(), $attribute->setAttribute('status', 'failed'));
} finally {