Skip to content

Commit 7d71b84

Browse files
Unconfuse error message
When a core directory without boards.txt file was encountered, the IDE would show: Could not find boards.txt in /path/to/core/boards.txt. Is it pre-1.5? Which appears confusing: Is it looking inside a directory called boards.txt? Now this is improved to: Could not find boards.txt in /path/to/core/. Is it pre-1.5? which makes a lot more sense.
1 parent 0213534 commit 7d71b84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/processing/app/debug/TargetPlatform.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public TargetPlatform(String _name, File _folder, TargetPackage parent)
7171
if (!boardsFile.exists() || !boardsFile.canRead())
7272
throw new TargetPlatformException(
7373
format(_("Could not find boards.txt in {0}. Is it pre-1.5?"),
74-
boardsFile.getAbsolutePath()));
74+
folder.getAbsolutePath()));
7575

7676
// Load boards
7777
try {

0 commit comments

Comments
 (0)