Skip to content
New issue

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

[enhancement] Issue a more compact message when JSON schema validation fails #3314

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

vkarak
Copy link
Contributor

@vkarak vkarak commented Nov 11, 2024

We modify our core code for chaining exception message to only print the message of the validation error and not its verbose string representation. This is now printed in debug mode at the error site.

Closes #3168.

Copy link
Contributor

@ekouts ekouts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@vkarak vkarak merged commit 854c5fb into reframe-hpc:develop Nov 12, 2024
38 checks passed
@vkarak vkarak deleted the enhancement/compact-config-error branch November 12, 2024 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Do not print the whole configuration schema when validation of the configuration fails
2 participants