From ac14b9694dd3565c53142ccee0a156b64c7a4c38 Mon Sep 17 00:00:00 2001 From: Laurent Clouet Date: Sun, 22 Apr 2018 20:01:53 +0200 Subject: [PATCH] Add log --- src/com/sheepit/client/Client.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/sheepit/client/Client.java b/src/com/sheepit/client/Client.java index 5512151..29d2a0e 100644 --- a/src/com/sheepit/client/Client.java +++ b/src/com/sheepit/client/Client.java @@ -713,6 +713,7 @@ public class Client { // unzip the archive ret = Utils.unzipFileIntoDirectory(renderer_archive, renderer_path, null); if (ret != 0) { + this.log.error("Client::prepareWorkingDirectory, error(1) with Utils.unzipFileIntoDirectory(" + renderer_archive + ", " + renderer_path + ") returned " + ret); this.gui.error("Client::prepareWorkingDirectory, error with Utils.unzipFileIntoDirectory of the renderer (returned " + ret + ")"); return -1; } @@ -740,6 +741,7 @@ public class Client { // unzip the archive ret = Utils.unzipFileIntoDirectory(scene_archive, scene_path, ajob.getSceneArchivePassword()); if (ret != 0) { + this.log.error("Client::prepareWorkingDirectory, error(2) with Utils.unzipFileIntoDirectory(" + scene_archive + ", " + scene_path + ") returned " + ret); this.gui.error("Client::prepareWorkingDirectory, error with Utils.unzipFileIntoDirectory of the scene (returned " + ret + ")"); return -2; }