mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
Adding some error checking code related to the launching of avr-size because some people were having trouble on Windows.
This commit is contained in:
@ -66,6 +66,8 @@ public class RunnerException extends Exception {
|
||||
* in each of the constructors above.
|
||||
*/
|
||||
static public final String massage(String msg) {
|
||||
if (msg == null)
|
||||
return "";
|
||||
if (msg.indexOf("java.lang.") == 0) {
|
||||
//int dot = msg.lastIndexOf('.');
|
||||
msg = msg.substring("java.lang.".length());
|
||||
|
Reference in New Issue
Block a user