-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Makes sure that precondition onErrorMessage and onFailMessage are logged when an error happens #5134
Makes sure that precondition onErrorMessage and onFailMessage are logged when an error happens #5134
Conversation
…ually printed out when an error happens.
Kudos, SonarCloud Quality Gate passed! |
@tati-qalified could you validate the fix please? TIA! |
It's working for me, with no issues.
For all three scenarios I followed these steps:
I tested around 6 different preconditions to be sure it worked in general. I don't believe it's necessary to test each one, though I can do it if someone thinks I should. |
Apart from that, there's an error message that isn't too user-friendly: When trying to run a changelog with an empty sqlCheck
The error message is:
It should probably say something along the lines of "sqlCheck attributes sql and expectedResult are required" |
Impact
Description
Currently onErrorMessage and onFailMessage are logged only if the log-level property is set to something higher than info. As they are custom error messages they should be logged everytime an error occurs.
Things to be aware of
Things to worry about
Additional Context