Skip to content

Commit a848050

Browse files
committed
fix: preserve discord auth probe logs
1 parent 6328c57 commit a848050

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/discord-test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,10 @@ jobs:
5757
mapfile -t out < <(call "$auth" /users/@me)
5858
code="${out[0]}"
5959
body="$(printf '%s\n' "${out[@]:1}")"
60-
echo "probe $label: $code"
61-
printf '%s\n' "$body" | head -c 300; echo
60+
echo "probe $label: $code" >&2
61+
{ printf '%s\n' "$body" | head -c 300; echo; } >&2
6262
if [ "$code" = "200" ]; then
63+
echo "selected auth: $label" >&2
6364
printf '%s' "$auth"
6465
return 0
6566
fi

0 commit comments

Comments
 (0)