Skip to content

Commit

Permalink
Remove dump
Browse files Browse the repository at this point in the history
  • Loading branch information
abnegate committed Nov 26, 2024
1 parent bd50243 commit 38354fb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Database/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -1222,7 +1222,6 @@ public function createCollection(string $id, array $attributes = [], array $inde
try {
$createdCollection = $this->silent(fn () => $this->createDocument(self::METADATA, $collection));
} catch (Exception $e) {
\var_dump('Error creating collection ' . $id . ' metadata document. Deleting collection.' . "\n" . $e->getMessage() . "\n" . $e->getTraceAsString());
$this->adapter->deleteCollection($id);
throw $e;
}
Expand Down

0 comments on commit 38354fb

Please sign in to comment.