better restful debug

This commit is contained in:
Jaromil 2015-06-04 14:34:27 +02:00
parent e70e31f5b6
commit 1e19f4bd59
1 changed files with 2 additions and 1 deletions

3
zuper
View File

@ -410,8 +410,9 @@ EOF
[[ "$_res" =~ "true" ]] || {
warn "failed PUT on restful key/value"
warn "endpoint: $_host:$_port/$_path"
warn "endpoint: ${_host}:${_port}${_path}"
warn "resource: $_k = $_v"
print - "$_res"
zerr
return 1
}