add more debug info

This commit is contained in:
neilpang 2018-03-18 11:36:04 +08:00
parent f2aa5c0235
commit 5d8d217a13

View File

@ -3247,6 +3247,7 @@ _regAccount() {
return 1
fi
_debug2 responseHeaders "$responseHeaders"
_accUri="$(echo "$responseHeaders" | grep "^Location:" | _head_n 1 | cut -d ' ' -f 2 | tr -d "\r\n")"
_debug "_accUri" "$_accUri"
_savecaconf "ACCOUNT_URL" "$_accUri"