summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/hbrowse.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/hbrowse.py')
-rw-r--r--gallery_dl/extractor/hbrowse.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/gallery_dl/extractor/hbrowse.py b/gallery_dl/extractor/hbrowse.py
index 01793dc..43479c6 100644
--- a/gallery_dl/extractor/hbrowse.py
+++ b/gallery_dl/extractor/hbrowse.py
@@ -29,8 +29,7 @@ class HbrowseBase():
if not data["manga"] and "<b>Warning</b>" in page:
msg = page.rpartition(">")[2].strip()
- self.log.error("Site is not accessible: '%s'", msg)
- raise exception.StopExtraction()
+ raise exception.StopExtraction("Site is not accessible: '%s'", msg)
tags = text.extract(page, 'class="listTable"', '</table>', pos)[0]