Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

upload-certificate: improve validation step output #63

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

Amygos
Copy link
Member

@Amygos Amygos commented Sep 5, 2024

To make the validation step more usable from the UI, the following improvements are made:

  • Redirect non-JSON error messages to stderr
  • Properly signal a validation error to the agent
  • Print a properly formatted JSON error message to stdout in case of validation failure

NethServer/dev#6986

To make the validation step more usable from the UI, the following
improvements are made:

* Redirect non-JSON error messages to stderr
* Properly signal a validation error to the agent
* Print a properly formatted JSON error message to stdout in case of
  validation failure
@Amygos Amygos merged commit 20135c9 into main Sep 5, 2024
1 check passed
@Amygos Amygos deleted the improve_custom_cert_validation branch September 5, 2024 15:28
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants