Skip to content

Commit 444babd

Browse files
committed
Merge pull request #3483 from sandeepmistry/issue-2911
Hide stack trace when the SerialUploader cannot find the selected board
2 parents 0ec9431 + 40c8c06 commit 444babd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-core/src/cc/arduino/packages/uploaders/SerialUploader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ private String waitForUploadPort(String uploadPort, List<String> before) throws
242242
}
243243

244244
// Something happened while detecting port
245-
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."));
245+
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);
246246
}
247247

248248
private boolean uploadUsingProgrammer(String buildPath, String className) throws Exception {

0 commit comments

Comments
 (0)