Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
d05fffac
Commit
d05fffac
authored
Aug 17, 2009
by
Tiago Peixoto
Browse files
Properly raise IOError when a parse error occurs in graph_io.cc
parent
55bee9c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph/graph_io.cc
View file @
d05fffac
...
...
@@ -544,7 +544,10 @@ python::tuple GraphInterface::ReadFromFile(string file, python::object pfile,
{
throw
IOException
(
"error reading from file '"
+
file
+
"':"
+
e
.
what
());
}
catch
(
parse_error
&
e
)
{
throw
IOException
(
"error reading from file '"
+
file
+
"':"
+
e
.
what
());
}
};
template
<
class
IndexMap
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment