Open trombik opened 4 years ago
when sending the data, the response is ignored. when the server returns non-200 status code, the plugin silently drop the error code such as 404.
https://github.com/sensu-plugins/sensu-plugins-slack/blob/375cd78b1d811bd00b22b3239c9f34568516c9a6/bin/handler-slack.rb#L181
and the result is success even when it is actually failure.
when sending the data, the response is ignored. when the server returns non-200 status code, the plugin silently drop the error code such as 404.
https://github.com/sensu-plugins/sensu-plugins-slack/blob/375cd78b1d811bd00b22b3239c9f34568516c9a6/bin/handler-slack.rb#L181
and the result is success even when it is actually failure.