瀏覽代碼

Add a debug message when catching ParserExclusionError.

tags/v0.2
Ben Kurtovic 9 年之前
父節點
當前提交
f52fb06c19
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      earwigbot/wiki/copyvios/workers.py

+ 1
- 0
earwigbot/wiki/copyvios/workers.py 查看文件

@@ -223,6 +223,7 @@ class _CopyvioWorker(object):
try:
text = self._open_url(source)
except ParserExclusionError:
self._logger.debug("Source excluded by content parser")
source.skipped = source.excluded = True
source.finish_work()
else:


Loading…
取消
儲存