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

[6.x] fix(watch): Add WatchErrors to capture invalid watches (#23887) #24755

Merged
merged 1 commit into from
Oct 29, 2018

Conversation

sebelga
Copy link
Contributor

@sebelga sebelga commented Oct 29, 2018

Backports the following commits to 6.x:

Instead of immediately throwing an error if a watch Action is invalid (an email for example), there is now an `option` object that we can pass to the `fromUpstreamJson()` method and receive back any error that might exist in a Watch.
The Watch has a new "watchErrors" property to display configuration error in the UI.

fixes elastic#20305
fixes elastic#20970
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@sebelga sebelga merged commit 500da50 into elastic:6.x Oct 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants