diff --git a/scripts/helper_functions.sh b/scripts/helper_functions.sh index 4be52b842..85b69f513 100644 --- a/scripts/helper_functions.sh +++ b/scripts/helper_functions.sh @@ -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