Skip to content
Permalink
Browse files

reduce info message

  • Loading branch information...
neilpang
neilpang committed May 4, 2019
1 parent acae0ac commit 83768f0531432a3d0de05264240485871f2b8703
Showing with 2 additions and 2 deletions.
  1. +2 −2 notify/mailgun.sh
@@ -30,7 +30,7 @@ mailgun_send() {
MAILGUN_REGION="${MAILGUN_REGION:-$(_readaccountconf_mutable MAILGUN_REGION)}"
if [ -z "$MAILGUN_REGION" ]; then
MAILGUN_REGION=""
_info "The MAILGUN_REGION is not set, so use the default us region."
_debug "The MAILGUN_REGION is not set, so use the default us region."
_MAILGUN_BASE="https://api.mailgun.net/v3"
else
_saveaccountconf_mutable MAILGUN_REGION "$MAILGUN_REGION"
@@ -83,7 +83,7 @@ mailgun_send() {
_debug "_msg" "$_msg"
_mailgun_rest POST "$_msg"
if _contains "$response" "Queued. Thank you."; then
_info "mailgun send success."
_debug "mailgun send success."
return 0
else
_err "mailgun send error"

0 comments on commit 83768f0

Please sign in to comment.
You can’t perform that action at this time.