Ignore failed preview round scans

This commit is contained in:
Christian Wolf 2023-11-08 20:45:19 +01:00
parent 36fa6a6dca
commit bb10d5fa06

View File

@ -159,7 +159,10 @@ class PreviewWorker:
for file in parsers:
parser = parsers[file]
try:
self.__extractPersonsFromSinglePreview(parser)
except:
self.l.error('Failed to parse preview round in file %s. Skipping this file\'s content.', parser.fileName)
return types.HtmlPreviewImport(self.participants, self.previewResults)