We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e030f11 commit 5b1120fCopy full SHA for 5b1120f
CHANGELOG.md
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
8
## [Unreleased]
9
10
+### Changed
11
+
12
+- Ensure cURL returns an error on a failed request
13
14
## [0.0.1] - 2020-04-17
15
16
### Added
hooks/command
@@ -5,7 +5,7 @@ main() {
5
local datadog_host="${BUILDKITE_PLUGIN_CREATE_DATADOG_EVENT_DATADOG_HOST:-https://api.datadoghq.com}"
6
local api_key="${BUILDKITE_PLUGIN_CREATE_DATADOG_EVENT_API_KEY}"
- curl -X POST \
+ curl -fsS -X POST \
-H "Content-type: application/json" \
-H "DD-API-KEY: ${api_key}" \
-d "$(make_body)" \
0 commit comments