-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Specify which parameter is missing in the error message #2567
Conversation
As seen in a question on stackoverflow, it's kind of unclear that the parameter to use is outputChangeLogFile and not changeLogFile (https://stackoverflow.com/questions/71172130/).
…/liquibase into bendem-doc/maven-parameter-error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix! Improving error messages to make life less confusing to users is always great.
I did update the message you suggested slightly to try to simplify it. LMK if you find that less helpful.
Code review and test results:
Things to be aware of
- I didn't run mvn to see the error message, just reviewed the wording change
Things to worry about
- Nothing
Looks good to me. I didn't know if it was named without the output prefix somewhere else so I had left both. Since this is maven specific code, your wording is probably even better |
It looks like the message is correct now. Test Environment: |
Environment
Liquibase Version: 4.7.1
Liquibase Integration & Version: maven
Liquibase Extension(s) & Version: N/A
Database Vendor & Version: postgresql
Operating System Type & Version: windows 10
Pull Request Type
Description
As seen in a question on stackoverflow, it's kind of unclear that the parameter to use is outputChangeLogFile and not changeLogFile (https://stackoverflow.com/questions/71172130/).
Steps To Reproduce
See SO question.
Actual Behavior
Specify
changeLogFile
option, get asked to specifychangeLogFile
option.Expected/Desired Behavior
Specify
changeLogFile
option, get asked to specifyoutputChangeLogFile
option.Screenshots (if appropriate)
N/A
Additional Context
N/A
Fast Track PR Acceptance Checklist:
Need Help?
Come chat with us on our discord channel