diff --git a/src/svg/svg_path_parser.cpp b/src/svg/svg_path_parser.cpp index a99847996..7b0d11902 100644 --- a/src/svg/svg_path_parser.cpp +++ b/src/svg/svg_path_parser.cpp @@ -54,7 +54,7 @@ bool parse_path(const char* wkt, PathType& p) if (!x3::phrase_parse(first, last, grammar, space_type()) || first != last) { - throw std::runtime_error("Failed to parse svg-path"); + throw; } } catch (...)