Commit a241ca01 authored by Arnaud Pauget's avatar Arnaud Pauget
Browse files

fix(19713) : add try catch test on extractFullText in batch function.

parent 6c386197
Pipeline #17521 failed with stages
in 36 seconds
......@@ -937,7 +937,10 @@ trait archiveModificationTrait
stream_copy_to_stream($handler, $tmpStream);
rewind($tmpStream);
fclose($tmpStream);
$fullText .= $fulltextService->getText($tmpFile, $options) . " ";
try {
$fullText .= $fulltextService->getText($tmpFile, $options) . " ";
} catch (\Exception $exception) {}
unlink($tmpFile);
}
$archive = $this->retrieve($archiveId);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment