Revert "no need to throw std::runtime_error as ellipsis catch (...) {} catches them all."

This reverts commit c5f3e6c654.
This commit is contained in:
Artem Pavlenko 2020-01-14 15:18:51 +00:00
parent 222835e73a
commit b4b5f393e3

View file

@ -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 (...)