Add debug log for not enough free space check

This commit is contained in:
DaCoolX
2021-10-01 16:00:46 +02:00
committed by Sheepit Renderfarm
parent 87ff09d5e5
commit c0ac0e4640
2 changed files with 7 additions and 4 deletions

View File

@@ -462,7 +462,7 @@ public class Server extends Thread {
return Error.Type.OK;
}
catch (Exception e) {
if (Utils.noFreeSpaceOnDisk(new File(destination_).getParent())) {
if (Utils.noFreeSpaceOnDisk(new File(destination_).getParent(), log)) {
throw new FermeExceptionNoSpaceLeftOnDevice();
}