Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Listen to stderr in toBuffer, so if the convert command fials we can … #739

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

davidhamar
Copy link

Listen to stderr, so that if an error happened when executing the convert command return the error, instead of Error: Stream yields empty buffer.

…return the error, instead of Error: Stream yields empty buffer
@drdamour
Copy link

drdamour commented Apr 5, 2019

@aheckmann this or something similar would be a really good change. imagemagick outputs lots of errors to stderr and this util lib swallowing them up makes debugging tricky

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants