Browse Source

fix error message

neilpang 6 years ago
parent
commit
3f35006c26
1 changed files with 2 additions and 0 deletions
  1. 2 0
      dnsapi/dns_namecom.sh

+ 2 - 0
dnsapi/dns_namecom.sh

@@ -130,6 +130,8 @@ _namecom_login() {
     if [ "$retcode" ]; then
       _info "Successfully logged in."
     else
+      _err "$response"
+      _err "Please add your ip to api whitelist"
       _err "Logging in failed."
       return 1
     fi