mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-07-06 20:42:45 +00:00
add error message
This commit is contained in:
parent
bcd2dab4a3
commit
3512b15bad
2
acme.sh
2
acme.sh
@ -2538,7 +2538,7 @@ _initAPI() {
|
|||||||
response=$(_get "$_api_server")
|
response=$(_get "$_api_server")
|
||||||
if [ "$?" != "0" ]; then
|
if [ "$?" != "0" ]; then
|
||||||
_debug2 "response" "$response"
|
_debug2 "response" "$response"
|
||||||
_err "Can not init api."
|
_err "Can not init api for: $_api_server."
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
response=$(echo "$response" | _json_decode)
|
response=$(echo "$response" | _json_decode)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user