SUPPORT-8689: fix(4) add logs and information about exceptions
This commit is contained in:
parent
fbf02422d3
commit
6fda60d1a6
2 changed files with 2 additions and 2 deletions
|
|
@ -64,6 +64,7 @@ public class EsnsiOkopfClient {
|
|||
if (Objects.nonNull(archiveStream.getNextEntry())) {
|
||||
return br.lines().collect(Collectors.joining(System.lineSeparator()));
|
||||
}
|
||||
logger.warn("Esnsi okopf client received an empty archive in response.");
|
||||
}
|
||||
catch (IOException e) {
|
||||
throw new RuntimeException("Failed to unzip the okopf file", e);
|
||||
|
|
|
|||
|
|
@ -71,8 +71,7 @@ public class EsnsiOkopfSchedulerServiceImpl implements EsnsiOkopfSchedulerServic
|
|||
okopfDao.save(okopfRecords);
|
||||
}
|
||||
else {
|
||||
logger.warn(
|
||||
"Esnsi okopf client requested an archive of okopf files but received an empty archive in response.");
|
||||
logger.warn("Okopf file could not be loaded");
|
||||
}
|
||||
}
|
||||
catch (JsonProcessingException e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue