소스 검색

Add a debug message when catching ParserExclusionError.

tags/v0.2
Ben Kurtovic 8 년 전
부모
커밋
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:


불러오는 중...
취소
저장