]> granicus.if.org Git - icinga2/commit
Elasticsearch: Improve error handling/logging 7027/head
authorMichael Friedrich <michael.friedrich@icinga.com>
Mon, 18 Mar 2019 15:41:01 +0000 (16:41 +0100)
committerMichael Friedrich <michael.friedrich@icinga.com>
Mon, 18 Mar 2019 15:41:01 +0000 (16:41 +0100)
commit816a935b3d40032ab7cdbc5e8786af546db8674f
tree9ecad5731fbf2151e38c4b92eaeddb29b9dc2233
parent00b8fb1f491eeb9f655d2b125d7ffe2e8f475b1b
Elasticsearch: Improve error handling/logging

- Missing content-type
- Wrong content-type shouldn't hide the error message
- Error message should include more details (request URL, etc.)
lib/perfdata/elasticsearchwriter.cpp