Ignore bib parse errors (#5874)

GitOrigin-RevId: 05c214762585b4d3d35ed055e1764d472b9cc861
This commit is contained in:
Miguel Serrano
2021-11-25 11:23:16 +01:00
committed by Copybot
parent 38fd832df2
commit cb5797bceb

View File

@@ -104,9 +104,12 @@ export const handleOutputFiles = async (projectId, data) => {
const log = await response.text()
const { errors, warnings } = new BibLogParser(log, {}).parse()
accumulateResults({ errors, warnings }, 'BibTeX:')
try {
const { errors, warnings } = new BibLogParser(log, {}).parse()
accumulateResults({ errors, warnings }, 'BibTeX:')
} catch (e) {
// BibLog parsing errors are ignored
}
}
result.fileList = buildFileList(outputFiles, data.clsiServerId)