Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Tune error message when creating detector #188

Conversation

ohltyler
Copy link
Contributor

Issue #, if available: #187

Description of changes:

This PR tunes the error message when there are errors creating a detector. Currently, there is an undefined exception when trying to parse the error message. This fixes that and propagates the correct error message to the toast notification. Also note that some of the changes are just formatting changes caused by autosaving.

Before:
Screen Shot 2020-05-28 at 10 03 27 AM

After:
Screen Shot 2020-05-28 at 10 29 27 AM

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@ohltyler ohltyler linked an issue May 28, 2020 that may be closed by this pull request
@ohltyler ohltyler merged commit 7a42cd8 into opendistro-for-elasticsearch:master May 28, 2020
@ohltyler ohltyler added the enhancement Enhance current feature for better performance, user experience, etc label Jun 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Enhance current feature for better performance, user experience, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tune error message for creating detector with empty index
4 participants