mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-11 02:05:39 +02:00
Log exception when no program for launch is found.
This commit is contained in:
parent
8cf540fbf6
commit
05d97a6e80
1 changed files with 2 additions and 0 deletions
|
@ -190,6 +190,8 @@ public class CommandLauncher implements ICommandLauncher {
|
||||||
fCommandArgs[0] = command; // to print original command on the console
|
fCommandArgs[0] = command; // to print original command on the console
|
||||||
fErrorMessage = ""; //$NON-NLS-1$
|
fErrorMessage = ""; //$NON-NLS-1$
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
CCorePlugin.log(e);
|
||||||
|
|
||||||
if (isFound == null) {
|
if (isFound == null) {
|
||||||
IPath location = PathUtil.findProgramLocation(command, envPathValue);
|
IPath location = PathUtil.findProgramLocation(command, envPathValue);
|
||||||
isFound = location != null;
|
isFound = location != null;
|
||||||
|
|
Loading…
Add table
Reference in a new issue