Explorar el Código

Add a debug message when catching ParserExclusionError.

tags/v0.2
Ben Kurtovic hace 8 años
padre
commit
f52fb06c19
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      earwigbot/wiki/copyvios/workers.py

+ 1
- 0
earwigbot/wiki/copyvios/workers.py Ver fichero

@@ -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:


Cargando…
Cancelar
Guardar