Skip to content

Commit

Permalink
#141 Add a default value to the node "default_error_strategy"
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavier Marchegay committed Nov 5, 2024
1 parent c0a352c commit 3901525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function getConfigTreeBuilder(): TreeBuilder
// Default error strategy
$definition->enumNode('default_error_strategy')
->values([TaskConfiguration::STRATEGY_SKIP, TaskConfiguration::STRATEGY_STOP])
->isRequired();
->defaultValue(TaskConfiguration::STRATEGY_STOP);

$this->appendRootProcessConfigDefinition($definition);
$this->appendRootTransformersConfigDefinition($definition);
Expand Down

0 comments on commit 3901525

Please sign in to comment.