1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 01:15:29 +02:00

Log exception when no program for launch is found.

This commit is contained in:
Andrew Gvozdev 2012-12-06 17:02:51 -05:00
parent 8cf540fbf6
commit 05d97a6e80

View file

@ -190,6 +190,8 @@ public class CommandLauncher implements ICommandLauncher {
fCommandArgs[0] = command; // to print original command on the console
fErrorMessage = ""; //$NON-NLS-1$
} catch (IOException e) {
CCorePlugin.log(e);
if (isFound == null) {
IPath location = PathUtil.findProgramLocation(command, envPathValue);
isFound = location != null;