Skip to content

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

Merged
sebelga merged 1 commit intoelastic:6.xfrom
sebelga:backport/6.x/pr-23887
Oct 29, 2018
Merged

[6.x] fix(watch): Add WatchErrors to capture invalid watches (#23887)#24755
sebelga merged 1 commit intoelastic:6.xfrom
sebelga:backport/6.x/pr-23887

Conversation

@sebelga
Copy link
Copy Markdown
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
@sebelga sebelga added the backport This PR is a backport of another PR label Oct 29, 2018
@elasticmachine
Copy link
Copy Markdown
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

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants