RED-6009: Document Tree Structure
*minor fix
This commit is contained in:
parent
e13b5af449
commit
85fe498035
@ -36,7 +36,6 @@ public class LayoutParsingService {
|
||||
private final ClassificationService classificationService;
|
||||
private final SectionsBuilderService sectionsBuilderService;
|
||||
private final DocumentGraphFactory documentGraphFactory;
|
||||
private final DocumentDataMapper documentDataMapper;
|
||||
|
||||
|
||||
public LayoutParsingFinishedEvent parseLayoutAndSaveFilesToStorage(LayoutParsingRequest layoutParsingRequest) {
|
||||
@ -81,7 +80,7 @@ public class LayoutParsingService {
|
||||
DocumentGraph documentGraph = parseLayout(originDocument, imageServiceResponse, tableServiceResponse);
|
||||
|
||||
try {
|
||||
layoutParsingStorageService.storeDocumentData(layoutParsingRequest, documentDataMapper.toDocumentData(documentGraph));
|
||||
layoutParsingStorageService.storeDocumentData(layoutParsingRequest, DocumentDataMapper.toDocumentData(documentGraph));
|
||||
} catch (IOException e) {
|
||||
log.error("Parsed Document files could not be saved!");
|
||||
log.error(e.getMessage());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user