mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-18 12:54:25 +01:00
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.
This commit is contained in:
parent
02135349a9
commit
7d71b84ae2
@ -71,7 +71,7 @@ public class TargetPlatform {
|
||||
if (!boardsFile.exists() || !boardsFile.canRead())
|
||||
throw new TargetPlatformException(
|
||||
format(_("Could not find boards.txt in {0}. Is it pre-1.5?"),
|
||||
boardsFile.getAbsolutePath()));
|
||||
folder.getAbsolutePath()));
|
||||
|
||||
// Load boards
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user