mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03: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:
@ -71,7 +71,7 @@ public class TargetPlatform {
|
|||||||
if (!boardsFile.exists() || !boardsFile.canRead())
|
if (!boardsFile.exists() || !boardsFile.canRead())
|
||||||
throw new TargetPlatformException(
|
throw new TargetPlatformException(
|
||||||
format(_("Could not find boards.txt in {0}. Is it pre-1.5?"),
|
format(_("Could not find boards.txt in {0}. Is it pre-1.5?"),
|
||||||
boardsFile.getAbsolutePath()));
|
folder.getAbsolutePath()));
|
||||||
|
|
||||||
// Load boards
|
// Load boards
|
||||||
try {
|
try {
|
||||||
|
Reference in New Issue
Block a user