orpiske commented on a change in pull request #5787:
URL: https://github.com/apache/camel/pull/5787#discussion_r665465025
##########
File path:
core/camel-support/src/main/java/org/apache/camel/support/processor/idempotent/FileIdempotentRepository.java
##########
@@ -462,7 +462,10 @@ protected void loadStore() throws IOException {
LOG.debug("Creating filestore: {}", fileStore);
File parent = fileStore.getParentFile();
if (parent != null) {
- parent.mkdirs();
+ boolean mkdirsResult = parent.mkdirs();
+ if (!mkdirsResult) {
+ LOG.error("mkdirs() failed for " + parent);
Review comment:
My .2 cents: for the log message on this part as well.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]