We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34092d9 commit 2809ef9Copy full SHA for 2809ef9
.ci/.ci-utility-files/common.sh
@@ -223,9 +223,9 @@ function failure() {
223
224
if [ -n "${SLACK_WEBHOOK}" ]; then
225
if [ -f "$(output_file)" ]; then
226
- slack -s error -m "ERROR: ${1}" -f "$(output_file)" -T 5
+ slack -s error -m "ERROR: ${msg}" -f "$(output_file)" -T 5
227
else
228
- slack -s error -m "ERROR: ${1}"
+ slack -s error -m "ERROR: ${msg}"
229
fi
230
231
exit 1
@@ -247,9 +247,9 @@ function warn() {
247
248
249
250
- slack -s warn -m "WARNING: ${1}" -f "$(output_file)"
+ slack -s warn -m "WARNING: ${msg}" -f "$(output_file)"
251
252
- slack -s warn -m "WARNING: ${1}"
+ slack -s warn -m "WARNING: ${msg}"
253
254
255
}
0 commit comments