Skip to content

Commit

Permalink
Merge pull request #404 from Luatan/fix-discord-level
Browse files Browse the repository at this point in the history
Fix Discord Webhook warn levels
  • Loading branch information
thijsvanloef authored Feb 18, 2024
2 parents 88c7320 + 17dbcb9 commit 73aa272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/helper_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Log() {
DiscordMessage() {
local message="$1"
local level="$2"
if [ -n "$level" ]; then
if [ -z "$level" ]; then
level="info"
fi
if [ -n "${DISCORD_WEBHOOK_URL}" ]; then
Expand Down

0 comments on commit 73aa272

Please sign in to comment.