Commit f627a028 authored by neil's avatar neil
Browse files

add error message

parent 5f9daa66
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment