diff --git a/common/source/java/ch/systemsx/cisd/common/filesystem/FileUtilities.java b/common/source/java/ch/systemsx/cisd/common/filesystem/FileUtilities.java index 1b40978ad4f644cc48c3c6e0b0c362cbd2f8cf56..1a51fff87412fc87fa040a72c4c69bd2de27d48b 100644 --- a/common/source/java/ch/systemsx/cisd/common/filesystem/FileUtilities.java +++ b/common/source/java/ch/systemsx/cisd/common/filesystem/FileUtilities.java @@ -2322,7 +2322,10 @@ public final class FileUtilities throw CheckedExceptionTunnel.wrapIfNecessary(exception); } throw new EnvironmentFailureException("The size of the folder '" + file - + "' couldn't be determined: " + result.getErrorOutput()); + + "' couldn't be determined:\n command: " + result.getCommandName() + + "\n commad line arguments: " + result.getCommandLine() + + "\n output: " + result.getOutput() + + "\n error output: "+ result.getErrorOutput()); } return FileUtils.sizeOfDirectory(file); }