add error message

This commit is contained in:
neil 2021-06-01 21:24:37 +08:00 committed by Bernard Spil
parent bcd2dab4a3
commit 3512b15bad

View File

@ -2538,7 +2538,7 @@ _initAPI() {
response=$(_get "$_api_server")
if [ "$?" != "0" ]; then
_debug2 "response" "$response"
_err "Can not init api."
_err "Can not init api for: $_api_server."
return 1
fi
response=$(echo "$response" | _json_decode)