浏览代码

fix error message

neilpang 6 年之前
父节点
当前提交
3f35006c26
共有 1 个文件被更改,包括 2 次插入0 次删除
  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