Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose Process.getErrorStream() content from postal.sendmail/sendmail-send #104

Open
sorsasampo opened this issue Aug 29, 2019 · 0 comments

Comments

@sorsasampo
Copy link

postal.sendmail/errors contains only a subset of errors that can happen.

Please expose Process.getErrorStream() content from postal.sendmail/sendmail-send, as this can seriously help in debugging exit values such as 1.

It may be enough to just replace:

(error (.exitValue p))

with:

(assoc (error (.exitValue p))
  :stderr (slurp (.getErrorStream p)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant