Skip to content

Commit 8d995d7

Browse files
committed
Show board name on generic "Error compiling" message
Close #4658
1 parent 3704f30 commit 8d995d7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

arduino-core/src/cc/arduino/Compiler.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ private void callArduinoBuilder(TargetBoard board, TargetPlatform platform, Targ
269269
}
270270

271271
if (result != 0) {
272-
RunnerException re = new RunnerException(tr("Error compiling."));
272+
RunnerException re = new RunnerException(I18n.format(tr("Error compiling for board {0}."), board.getName()));
273273
re.hideStackTrace();
274274
throw re;
275275
}

build/shared/revisions.txt

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ ARDUINO 1.6.8
1414
* Improved sketch preprocessor when handling C++11 keywords. Thanks @matthijskooijman @igrr
1515
* Updates to keyword pigmentation to match Create
1616
* Fixed display of LITERAL1 keywords
17+
* Added target board information when "Error compiling" message is displayed. Thanks @PaulStoffregen
1718

1819
[core]
1920
* avr: fixed USB_SendControl(...) for buffer with len > 64. Thanks @NicoHood

0 commit comments

Comments
 (0)