Don't write error to log when unable to create process.

The exception may be properly handled outside (e.g. when process
creation failed due to required elevation -> we handle this error and
show elevation dialog to user). Needed for Rider.
This commit is contained in:
Dmitry Jemerov
2018-04-10 16:50:06 +02:00
parent 5c6f7696a4
commit 9b6fe53b3f
@@ -70,10 +70,10 @@ public class PtyCommandLine extends GeneralCommandLine {
logContent = "Unable to retrieve log: " + e.getMessage();
}
LOG.error("Couldn't run process with PTY", t, logContent);
LOG.debug("Couldn't run process with PTY", t, logContent);
}
else {
LOG.error("Couldn't run process with PTY", t);
LOG.debug("Couldn't run process with PTY", t);
}
}