mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-03 09:29:11 +00:00
When the HTTP attachment was not able to successfully retrieve the data from and endpoint, there was no indication in the watch history of what went wrong. Instead a logger was used, which is not useful for the person running the watches. This commit removes the logger statement and throws an exception, so that the exception message can be stored in the watch history. Source of this issue was a forum post: https://discuss.elastic.co/t/sending-e-mail-with-generated-report-fails/60263/6 Original commit: elastic/x-pack-elasticsearch@acdaf7abef