Skip to content

Commit

Permalink
Add GEN_DATA name to REPORT_STEPS validation error message
Browse files Browse the repository at this point in the history
  • Loading branch information
HakonSohoel committed Oct 29, 2024
1 parent 00f0242 commit 419d3f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ert/config/gen_data_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def from_config_dict(cls, config_dict: ConfigDict) -> Optional[Self]:
)
except ValueError as e:
raise ConfigValidationError.with_context(
f"The REPORT_STEPS setting: {report_steps_value} is invalid"
f"The REPORT_STEPS setting: {report_steps_value} for {name} is invalid"
' - must be a valid range string: e.g.: "0-1, 4-6, 8"',
gen_data,
) from e
Expand Down

0 comments on commit 419d3f4

Please sign in to comment.