RED-6072 - As Operation I want to see why files are in an ERROR state
- add @Transactional for the update
This commit is contained in:
parent
b1d1c41dbf
commit
54bfe80f31
@ -164,6 +164,7 @@ public class FileStatusPersistenceService {
|
||||
}
|
||||
|
||||
|
||||
@Transactional
|
||||
public void updateStatusErrorInfo(String fileId, FileErrorInfo fileErrorInfo) {
|
||||
if (fileErrorInfo == null) {
|
||||
fileRepository.updateStatusErrorInfo(fileId, null, null, null);
|
||||
@ -172,6 +173,7 @@ public class FileStatusPersistenceService {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Transactional
|
||||
public void updateProcessingStatus(String fileId, ProcessingStatus processingStatus) {
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user