Better log on error
This commit is contained in:
@@ -562,6 +562,9 @@ public class Client {
|
|||||||
command.add(script_file.getAbsolutePath());
|
command.add(script_file.getAbsolutePath());
|
||||||
}
|
}
|
||||||
catch (IOException e) {
|
catch (IOException e) {
|
||||||
|
StringWriter sw = new StringWriter();
|
||||||
|
e.printStackTrace(new PrintWriter(sw));
|
||||||
|
this.log.error("Client:runRenderer exception on script generation, will return UNKNOWN " + e + " stacktrace " + sw.toString());
|
||||||
return Error.Type.UNKNOWN;
|
return Error.Type.UNKNOWN;
|
||||||
}
|
}
|
||||||
script_file.deleteOnExit();
|
script_file.deleteOnExit();
|
||||||
|
|||||||
Reference in New Issue
Block a user