When fail with python error, cleaning directory in hope to recover
This commit is contained in:
@@ -621,6 +621,10 @@ public class Client {
|
|||||||
gui.setComputeMethod("");
|
gui.setComputeMethod("");
|
||||||
if (err != Error.Type.OK) {
|
if (err != Error.Type.OK) {
|
||||||
this.log.error("Client::work problem with runRenderer (ret " + err + ")");
|
this.log.error("Client::work problem with runRenderer (ret " + err + ")");
|
||||||
|
if (err == Error.Type.RENDERER_CRASHED_PYTHON_ERROR) {
|
||||||
|
this.log.error("Client::work failed with python error, cleaning directory in hope to recover");
|
||||||
|
this.config.cleanWorkingDirectory();
|
||||||
|
}
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user