Skip to content

Conversation

@zspencer
Copy link

@zspencer zspencer commented Mar 6, 2018

@glejeune - This may be a ruby 2.4 idiosynracy, I didn't take the time to diagnose it further.

Essentially, sometimes the status returned from output_and_errors_from_command is nil, which does not respond to zero?; causing the actual commands errors to be masked.

This patches that so the underlying graphviz usage errors can bubble up.

I believe this resolves both #133 and #125

@aguynamedryan
Copy link

Ran into the same issue and this PR fixes it for me. Thanks @zspencer. @glejeune, would you be willing to merge this?

@ymarkus
Copy link

ymarkus commented Dec 3, 2020

Can confirm. This makes it usable in my project. Please merge it!

@soberstadt
Copy link

This came up for me today too. It exposed an actual error from graphviz (not a helpful error, but at least an error). Please merge this :)

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

Successfully merging this pull request may close these issues.

4 participants