We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92ad5f0 commit c24b3f6Copy full SHA for c24b3f6
app/src/processing/app/Base.java
@@ -1169,10 +1169,15 @@ public LibraryList scanLibraries(File folder) throws IOException {
1169
continue;
1170
}
1171
1172
- Library lib = Library.create(subfolder);
1173
- // (also replace previously found libs with the same name)
1174
- if (lib != null)
1175
- res.addOrReplace(lib);
+ try {
+ Library lib = Library.create(subfolder);
+ // (also replace previously found libs with the same name)
+ if (lib != null)
1176
+ res.addOrReplace(lib);
1177
+ } catch (IOException e) {
1178
+ System.out.println(I18n.format(_("Invalid library found in {0}: {1}"),
1179
+ subfolder, e.getMessage()));
1180
+ }
1181
1182
return res;
1183
0 commit comments