mirror of
https://github.com/acmesh-official/acme.sh
synced 2025-08-30 13:58:33 +00:00
add more log
This commit is contained in:
3
acme.sh
3
acme.sh
@@ -1431,6 +1431,7 @@ issue() {
|
|||||||
sleep 5
|
sleep 5
|
||||||
_debug "checking"
|
_debug "checking"
|
||||||
response="$(_get $uri | _normalizeJson )"
|
response="$(_get $uri | _normalizeJson )"
|
||||||
|
_debug2 response "$response"
|
||||||
if [ "$?" != "0" ] ; then
|
if [ "$?" != "0" ] ; then
|
||||||
_err "$d:Verify error:$response"
|
_err "$d:Verify error:$response"
|
||||||
_clearupwebbroot "$_currentRoot" "$removelevel" "$token"
|
_clearupwebbroot "$_currentRoot" "$removelevel" "$token"
|
||||||
@@ -1448,7 +1449,7 @@ issue() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$status" = "invalid" ] ; then
|
if [ "$status" = "invalid" ] ; then
|
||||||
error=$(echo $response | egrep -o '"error":{[^}]*}' | grep -o '"detail":"[^"]*"' | cut -d '"' -f 4)
|
error="$(echo $response | egrep -o '"error":{[^}]*}' | grep -o '"detail":"[^"]*"' | cut -d '"' -f 4)"
|
||||||
_err "$d:Verify error:$error"
|
_err "$d:Verify error:$error"
|
||||||
_clearupwebbroot "$_currentRoot" "$removelevel" "$token"
|
_clearupwebbroot "$_currentRoot" "$removelevel" "$token"
|
||||||
_clearup
|
_clearup
|
||||||
|
Reference in New Issue
Block a user