From a6cf632d6e5a3d625809619e4d2cc3f4b52da5c5 Mon Sep 17 00:00:00 2001 From: Kilian Schuettler Date: Tue, 1 Aug 2023 00:07:30 +0200 Subject: [PATCH] fix some log messages --- .../persistence-service-processor-v1/pom.xml | 2 +- .../v1/processor/service/FileManagementStorageService.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/persistence-service-v1/persistence-service-processor-v1/pom.xml b/persistence-service-v1/persistence-service-processor-v1/pom.xml index 4e6b8e389..ffc4021b0 100644 --- a/persistence-service-v1/persistence-service-processor-v1/pom.xml +++ b/persistence-service-v1/persistence-service-processor-v1/pom.xml @@ -91,7 +91,7 @@ com.knecon.fforesight layoutparser-service-internal-api - 0.16.0 + 0.17.0 diff --git a/persistence-service-v1/persistence-service-processor-v1/src/main/java/com/iqser/red/service/persistence/management/v1/processor/service/FileManagementStorageService.java b/persistence-service-v1/persistence-service-processor-v1/src/main/java/com/iqser/red/service/persistence/management/v1/processor/service/FileManagementStorageService.java index 81ca3f41d..0571a3abf 100644 --- a/persistence-service-v1/persistence-service-processor-v1/src/main/java/com/iqser/red/service/persistence/management/v1/processor/service/FileManagementStorageService.java +++ b/persistence-service-v1/persistence-service-processor-v1/src/main/java/com/iqser/red/service/persistence/management/v1/processor/service/FileManagementStorageService.java @@ -64,7 +64,7 @@ public class FileManagementStorageService { try { return storageService.readJSONObject(TenantContext.getTenantId(), StorageIdUtils.getStorageId(dossierId, fileId, FileType.REDACTION_LOG), RedactionLog.class); } catch (StorageObjectDoesNotExist e) { - log.debug("Text not available."); + log.debug("RedactionLog does not exist"); throw new NotFoundException("RedactionLog does not exist"); } } @@ -76,7 +76,7 @@ public class FileManagementStorageService { return storageService.readJSONObject(TenantContext.getTenantId(), StorageIdUtils.getStorageId(dossierId, fileId, FileType.SECTION_GRID), SectionGrid.class); } catch (StorageObjectDoesNotExist e) { log.debug("SectionGrid not available."); - throw new NotFoundException("RedactionLog does not exist"); + throw new NotFoundException("SectionGrid does not exist"); } catch (Exception e) { throw new RuntimeException("Could not convert SectionGrid", e); }