Revert "no need to throw std::runtime_error as ellipsis catch (...) {}
catches them all."
This reverts commit c5f3e6c654
.
This commit is contained in:
parent
222835e73a
commit
b4b5f393e3
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ bool parse_path(const char* wkt, PathType& p)
|
|||
if (!x3::phrase_parse(first, last, grammar, space_type())
|
||||
|| first != last)
|
||||
{
|
||||
throw;
|
||||
throw std::runtime_error("Failed to parse svg-path");
|
||||
}
|
||||
}
|
||||
catch (...)
|
||||
|
|
Loading…
Reference in a new issue