Skip to content

Commit c0c75a9

Browse files
facchinmcmaglie
authored andcommitted
LibManager: avoid throwing an exception to allow correct error handling
1 parent 5ea000c commit c0c75a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-core/src/cc/arduino/contributions/libraries/LibrariesIndexer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public void rescanLibraries() {
202202
String[] headers = BaseNoGui
203203
.headerListFromIncludePath(lib.getSrcFolder()); // TODO: Obtain from the CLI?
204204
if (headers.length == 0) {
205-
throw new IOException(format(tr("no headers files (.h) found in {0}"),
205+
System.out.println(format(tr("no headers files (.h) found in {0}"),
206206
lib.getSrcFolder()));
207207
}
208208

0 commit comments

Comments
 (0)