forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ResponseOps][Connectors] add the "service message" to the message ge…
…nerated for errors (elastic#194213) Resolves elastic#187288 ## Summary When a connector fails we log the error message. In this PR I updated the log message to include the error message followed by the serviceMessage if it's populated. This change will help provide more detailed info in the log messages when a connector fails. ### Checklist - [ ] [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 connector and update the executor code to make it fail - Create rule with your connector - Verify that the log message includes more details about the error instead of something like the following example for email connectors: `Action '[email connector name]' failed: error sending email"`
- Loading branch information
Showing
2 changed files
with
55 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters