Browse Source

better restful debug

Jaromil 4 years ago
parent
commit
1e19f4bd59
1 changed files with 2 additions and 1 deletions
  1. 2 1
      zuper

+ 2 - 1
zuper

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