fix some log messages
This commit is contained in:
parent
21e759ead1
commit
4fe01b9d28
@ -91,7 +91,7 @@
|
||||
<dependency>
|
||||
<groupId>com.knecon.fforesight</groupId>
|
||||
<artifactId>layoutparser-service-internal-api</artifactId>
|
||||
<version>0.16.0</version>
|
||||
<version>0.17.0</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user