Closed jaydeesimon closed 4 years ago
@jaydeesimon I made a couple of changes in https://github.com/borkdude/babashka.curl/pull/18/commits/57ffee2cb89c2e50a98abd377734409fcaace82d.
:err
, same as clojure.java.shell/sh
, does that make sense?:as :stream
. Else slurping the error output blocks.
If there is a nonzero exit status code from the
curl
shell command, there is an error message written to standard error. This pull request captures the error message, if one exists, and adds a key for it in the resulting response object.