Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Image is created dispite of errors but not displayed #4

Closed
Potherca opened this issue Jan 28, 2014 · 0 comments
Closed

Image is created dispite of errors but not displayed #4

Potherca opened this issue Jan 28, 2014 · 0 comments

Comments

@Potherca
Copy link
Owner

Sometimes when an error is returned by dot the graph image is still created.
When the same data is submitted again the image generated by the previous submit is actually shown.

Instead of trusting Graphviz error codes it might be saner to just check if an image file was generated and base error output on that validation.

The only question that remains is what to do with the errors from the previous run?
We could save the generated output in a log file and include that with any following commit of the same data, instead of just saying "file already exists"

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

No branches or pull requests

1 participant