Skip to content

Make report_frequency general configuration block argument actually optional.#102

Merged
romerojosh merged 1 commit intomasterfrom
fix_config_report_freq
Feb 5, 2026
Merged

Make report_frequency general configuration block argument actually optional.#102
romerojosh merged 1 commit intomasterfrom
fix_config_report_freq

Conversation

@romerojosh
Copy link
Collaborator

While putting together tests for #98, I found that the report_frequency configuration file entry is not optional if a general block is present. For example, a general block without report_frequency like the following:

general:
  verbose: 1

will throw an uncaught exception because we unconditionally check the report_frequency value if a general block exists in the configuration file.

This PR adds the appropriate try/catch block around checking the value of report_frequency to fix this issue.

…ptional.

Signed-off-by: Josh Romero <joshr@nvidia.com>
@romerojosh
Copy link
Collaborator Author

/build_and_test

@github-actions
Copy link

github-actions bot commented Feb 5, 2026

🚀 Build workflow triggered! View run

@github-actions
Copy link

github-actions bot commented Feb 5, 2026

✅ Build workflow passed! View run

@romerojosh romerojosh merged commit dc955a5 into master Feb 5, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant