Actually throw ParseException. 🤦

This commit is contained in:
tastytea 2020-01-01 12:53:11 +01:00
parent 4d35ee1d66
commit cfe57f1931
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 4 additions and 1 deletions

View File

@ -141,8 +141,11 @@ void Document::parse()
BOOST_LOG_TRIVIAL(debug) << "RSS detected.";
parse_rss(tree);
}
else
{
throw ParseException{"Could not detect type of feed."};
ParseException{"Could not detect type of feed."};
}
}
void Document::parse_rss(const pt::ptree &tree)