Skip to content

Commit 1a19093

Browse files
ondrejbudaicroissanne
authored andcommitted
schutzbot: don't print the slack webhook url
1 parent 67f5ce0 commit 1a19093

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

schutzbot/slack_notification.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
set -eux
3+
set -eu
44

55
if [ -z "${SLACK_WEBHOOK_URL:-}" ]; then
66
echo "INFO: Variable SLACK_WEBHOOK_URL is undefined"
@@ -23,6 +23,8 @@ else
2323
fi
2424
fi
2525

26+
echo "INFO: Sending slack notification: $MESSAGE"
27+
2628
curl \
2729
-X POST \
2830
-H 'Content-type: application/json' \

0 commit comments

Comments
 (0)