1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-01 12:24:14 +01:00

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

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 {