Skip to content

Commit 4c26fa9

Browse files
committed
Better error logging for investigation of #312
1 parent 5f6e2c7 commit 4c26fa9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

it.baeyens.arduino.core/src/it/baeyens/arduino/tools/ArduinoHelpers.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1154,7 +1154,10 @@ public static String[] getBoardsFiles() {
11541154
searchFiles(boardsManagerPackagesFolder, boardFiles, ArduinoConst.BOARDS_FILE_NAME, 5);
11551155
searchFiles(privateHardwareFolder, boardFiles, ArduinoConst.BOARDS_FILE_NAME, 3);
11561156
if (boardFiles.size() == 0) {
1157-
Common.log(new Status(IStatus.ERROR, ArduinoConst.CORE_PLUGIN_ID, "No boards.txt files found in the arduino hardware folders", null));
1157+
Common.log(new Status(IStatus.ERROR, ArduinoConst.CORE_PLUGIN_ID,
1158+
"No boards.txt files found in the arduino hardware folders. I looked in:\nPrivate Hardware folder = \"" + privateHardwareFolder
1159+
+ "\"\nHardwareFolder = \"" + HardwareFolder + "\"\nboardsManagerPackagesFolder = \"" + boardsManagerPackagesFolder
1160+
+ "\"", null));
11581161
return null;
11591162
}
11601163
return boardFiles.toArray(new String[boardFiles.size()]);

0 commit comments

Comments
 (0)