add more log

This commit is contained in:
neil committed 2016-05-30 21:55:49 +08:00
1 parent c835ab025a
commit b7ec6789b3
1 file changed
+9 -2
+9 -2
View File
@@ -1449,8 +1449,15 @@ issue() {
fi
if [ "$status" = "invalid" ] ; then
error="$(echo $response | egrep -o '"error":{[^}]*}' | grep -o '"detail":"[^"]*"' | cut -d '"' -f 4)"
_err "$d:Verify error:$error"
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"
fi
_clearupwebbroot "$_currentRoot" "$removelevel" "$token"
_clearup
return 1;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.