Merge pull request #3483 from sandeepmistry/issue-2911

Hide stack trace when the SerialUploader cannot find the selected board
This commit is contained in:
Federico Fissore 2015-07-09 09:25:41 +02:00
commit 444babdcb8
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ public class SerialUploader extends Uploader {
}
// Something happened while detecting port
throw new RunnerException(_("Couldn't find a Board on the selected port. Check that you have the correct port selected. If it is correct, try pressing the board's reset button after initiating the upload."));
throw new RunnerException(_("Couldn't find a Board on the selected port. Check that you have the correct port selected. If it is correct, try pressing the board's reset button after initiating the upload."), false);
}
private boolean uploadUsingProgrammer(String buildPath, String className) throws Exception {