dbf-exporter оставлять временные файлы (в папке export-dbf-service.store.local-temp-dir)
This commit is contained in:
parent
f467b1062b
commit
81456f3d2e
1 changed files with 8 additions and 6 deletions
|
|
@ -53,12 +53,14 @@ public class Journal extends Stage implements InitializingBean {
|
||||||
|
|
||||||
//удалим временный файл
|
//удалим временный файл
|
||||||
File dbfFile = resultContainer.getFileForExport();
|
File dbfFile = resultContainer.getFileForExport();
|
||||||
try {
|
// try {
|
||||||
log.debug("Uuid {}, delete tem file \"{}\"", resultContainer.getUuid(), dbfFile);
|
// log.debug("Uuid {}, delete temp file \"{}\"", resultContainer.getUuid(), dbfFile);
|
||||||
Files.deleteIfExists(dbfFile.toPath());
|
// Files.deleteIfExists(dbfFile.toPath());
|
||||||
} catch (IOException e) {
|
// } catch (IOException e) {
|
||||||
throw new RuntimeException(e);
|
// throw new RuntimeException(e);
|
||||||
}
|
// }
|
||||||
|
// Надо сохранять для разбора истории и отладки по логам
|
||||||
|
log.debug("Uuid {}, save temp file \"{}\"", resultContainer.getUuid(), dbfFile);
|
||||||
return StageResult.COMPLETE;
|
return StageResult.COMPLETE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue