diff --git a/opp/docparser/blogpostparser.py b/opp/docparser/blogpostparser.py index e848dc1..9b1f993 100644 --- a/opp/docparser/blogpostparser.py +++ b/opp/docparser/blogpostparser.py @@ -69,7 +69,7 @@ def extract_content(bytehtml, doc): return text else: debug(2, 'no content found!') - return '' + raise Exception('no content') def find_content_element(el, best_el=None): """