-
Notifications
You must be signed in to change notification settings - Fork 23
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
Improve package manager error handling #59
Labels
Comments
Another idea would be to stop processing if either login or password is empty/nil |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Package Manager behaviour varies by instance type (author/publish):
At the moment strange things can happen if AEM credentials are incorrect (i.e. credentials are injected dynamically at runtime and the process didn't work). Here's the use case:
Publish instance handles this in the following way:
200 gets back to the user, however
{"success":false,"msg":"This tree does not exist"}
is present in the response body.The cookbook validates the response and returns an error, which is correct in this case. However a few extra checks can be made to make user experience better:
user="anonymous"
at least some warning should be displayedThe text was updated successfully, but these errors were encountered: