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

feat(cli): provide descriptive server start error #4171

Merged
merged 2 commits into from
Jul 18, 2024

Conversation

yuri1969
Copy link
Contributor

What changes are being made and why?

  • The validation is based on just 3 basic Kestra properties.
  • Provided a description and link to the docs in the error.
  • The server local nor any other non-server commands were affected.
  • Added a crude test.

closes #4155

@loicmathieu
Copy link
Member

@yuri1969 thanks for your contribution.

I may not have been too precise in the issue but the idea what to say wich property is missing and log a line with the part of the configuration guide linked to this precise property. Could you make the changes?

* The validation is based just on 3 basic Kestra properties.
* Provided a description and link to the docs in the error.
* The `server local` nor any other non-`server` commands were affected.
* Added a crude test.
@yuri1969
Copy link
Contributor Author

@loicmathieu The PR now lists each missing property along with link to the related section of Configuration ​Setup separately. Is there any better fit in the docs?

Copy link
Member

@loicmathieu loicmathieu left a comment

Choose a reason for hiding this comment

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

LGTM, thanks.

@loicmathieu loicmathieu merged commit 96803a6 into kestra-io:develop Jul 18, 2024
6 of 7 checks passed
@yuri1969 yuri1969 deleted the server-cmd-validation branch July 18, 2024 10:48
Skraye added a commit that referenced this pull request Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Provides a better error message when Kestra cannot be started due to misconfiguration
2 participants