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:
commit
444babdcb8
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user