We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
il faudrait catch les RejectedItemException, ajouter un log, et laisser passer la pipeline. j'ai essayé:
# src/PipelineRunner.php public function run( \Iterator $source, \Generator $coroutine, RejectionInterface $rejection, StateInterface $state, ): \Iterator { $state->initialize(); $rejection->initialize(); $wrapper = new GeneratorWrapper(); $wrapper->rewind($source, $coroutine); while ($wrapper->valid($source)) { try { $bucket = $coroutine->send($source->current()); } catch (RejectedItemException $exception) { $rejection->reject($source->current()); $state->reject(); $this->logger->log( $this->rejectionLevel, 'Some data was rejected from the pipeline', [ 'line' => $source->current(), 'exception' => $exception, ] ); } if (null === $bucket) { break; }
mais ca ne marche pas.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
il faudrait catch les RejectedItemException, ajouter un log, et laisser passer la pipeline.
j'ai essayé:
mais ca ne marche pas.
The text was updated successfully, but these errors were encountered: