From 40c8c067b6a1cb9d07d756caed66c08823320d18 Mon Sep 17 00:00:00 2001 From: Sandeep Mistry Date: Sat, 4 Jul 2015 09:47:46 -0400 Subject: [PATCH] Hide stack trace when the SerialUploader cannot find the selected board (#2911) --- .../src/cc/arduino/packages/uploaders/SerialUploader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arduino-core/src/cc/arduino/packages/uploaders/SerialUploader.java b/arduino-core/src/cc/arduino/packages/uploaders/SerialUploader.java index 3e05f1500..51b1edff6 100644 --- a/arduino-core/src/cc/arduino/packages/uploaders/SerialUploader.java +++ b/arduino-core/src/cc/arduino/packages/uploaders/SerialUploader.java @@ -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 {