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

281 log apex code on validation failure #311

Merged
merged 2 commits into from
Dec 13, 2024

Conversation

kjonescertinia
Copy link
Contributor

This puts a wrapper around the validate calls so that we can catch exceptions. When an exception is caught it is logged against the primary metadata file for a type and all files are saved into a temporary directory which is reported in the error message.

There is a possibility that the metadata being validated does not match that currently saved in the file but that is likely to be a rare occurrence in practice so I have not tried to handle it.

@pwrightcertinia pwrightcertinia merged commit 15dec7b into main Dec 13, 2024
1 check passed
@pwrightcertinia pwrightcertinia deleted the 281-log-apex-code-on-validation-failure branch December 13, 2024 11:06
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.

Log apex code on validation failure
3 participants