This repository has been archived by the owner on Mar 28, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ResponseOps] Throwing a mustache error when validating action messag…
…e for warnings (elastic#158668) Resolves elastic#158666 ## Summary Adds a try/catch around `mustache.parse` to catch and ignore any errors when validating the action message for warnings. ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios ### To verify - Create a rule and add a slack connector, and open dev tools console - In the action message type `{{` - verify that an error is not thrown and that you can add the second open curly brace
- Loading branch information