mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-17 06:52:18 +01:00
Hide stack trace when the SerialUploader cannot find the selected board (#2911)
This commit is contained in:
parent
e4a3033d2b
commit
40c8c067b6
@ -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…
x
Reference in New Issue
Block a user