Skip to content

Commit

Permalink
Update ValueError message that is misleading (#3769)
Browse files Browse the repository at this point in the history
  • Loading branch information
howardyoo committed Mar 18, 2024
1 parent 947472b commit d5f4946
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
([#3751](https://github.com/open-telemetry/opentelemetry-python/pull/3751))
- bump mypy to 0.982
([#3776](https://github.com/open-telemetry/opentelemetry-python/pull/3776))
- Fix ValueError message for PeriodicExportingMetricsReader
([#3769](https://github.com/open-telemetry/opentelemetry-python/pull/3769))

## Version 1.23.0/0.44b0 (2024-02-23)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ def __init__(
elif self._export_interval_millis <= 0:
raise ValueError(
f"interval value {self._export_interval_millis} is invalid \
and needs to be larger than zero and lower than infinity."
and needs to be larger than zero."
)

def _at_fork_reinit(self):
Expand Down

0 comments on commit d5f4946

Please sign in to comment.