mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-25 22:51:39 +00:00
add more log
This commit is contained in:
parent
c835ab025a
commit
b7ec6789b3
9
acme.sh
9
acme.sh
@ -1449,8 +1449,15 @@ 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":{[^}]*}')"
|
||||||
|
_debug2 error "$error"
|
||||||
|
errordetail="$(echo $error | grep -o '"detail": *"[^"]*"' | cut -d '"' -f 4)"
|
||||||
|
_debug2 errordetail "$errordetail"
|
||||||
|
if [ "$errordetail" ] ; then
|
||||||
|
_err "$d:Verify error:$errordetail"
|
||||||
|
else
|
||||||
_err "$d:Verify error:$error"
|
_err "$d:Verify error:$error"
|
||||||
|
fi
|
||||||
_clearupwebbroot "$_currentRoot" "$removelevel" "$token"
|
_clearupwebbroot "$_currentRoot" "$removelevel" "$token"
|
||||||
_clearup
|
_clearup
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user