mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 14:33:14 +00:00
Merge pull request #1285 from mdarse/es-bulk-throw-error
Throw on failing bulk operation item
This commit is contained in:
@@ -26,7 +26,7 @@ class BulkOperation
|
||||
private $flushLimit = 1000;
|
||||
private $throwOnError;
|
||||
|
||||
public function __construct(Client $client, $throwOnError = false)
|
||||
public function __construct(Client $client, $throwOnError = true)
|
||||
{
|
||||
$this->client = $client;
|
||||
$this->throwOnError = $throwOnError;
|
||||
|
Reference in New Issue
Block a user