Hide stack trace when the SerialUploader cannot find the selected board (#2911)

This commit is contained in:
Sandeep Mistry 2015-07-04 09:47:46 -04:00
parent e4a3033d2b
commit 40c8c067b6
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 {