Don't abort if opening a file to export to graphviz fails
This commit is contained in:
@@ -523,7 +523,7 @@ ConstraintTree::exportToGraphViz (
|
||||
if (!out.is_open()) {
|
||||
cerr << "error: cannot open file to write at " ;
|
||||
cerr << "ConstraintTree::exportToDotFile()" << endl;
|
||||
abort();
|
||||
return;
|
||||
}
|
||||
out << "digraph {" << endl;
|
||||
ConstraintTree copy (*this);
|
||||
|
Reference in New Issue
Block a user