Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
b7ec6789
Commit
b7ec6789
authored
May 30, 2016
by
neil
Browse files
add more log
parent
c835ab02
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
b7ec6789
...
@@ -1449,8 +1449,15 @@ issue() {
...
@@ -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":{[^}]*}'
)
"
_err
"
$d
:Verify error:
$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
"
fi
_clearupwebbroot
"
$_currentRoot
"
"
$removelevel
"
"
$token
"
_clearupwebbroot
"
$_currentRoot
"
"
$removelevel
"
"
$token
"
_clearup
_clearup
return
1
;
return
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment