Open sorsasampo opened 5 years ago
postal.sendmail/errors contains only a subset of errors that can happen.
postal.sendmail/errors
Please expose Process.getErrorStream() content from postal.sendmail/sendmail-send, as this can seriously help in debugging exit values such as 1.
Process.getErrorStream()
postal.sendmail/sendmail-send
It may be enough to just replace:
(error (.exitValue p))
with:
(assoc (error (.exitValue p)) :stderr (slurp (.getErrorStream p)))
postal.sendmail/errors
contains only a subset of errors that can happen.Please expose
Process.getErrorStream()
content frompostal.sendmail/sendmail-send
, as this can seriously help in debugging exit values such as 1.It may be enough to just replace:
with: