mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 09:39:19 +01:00
starting 72.. shows an error message when an import is missing.
This commit is contained in:
@@ -1180,8 +1180,12 @@ public class PdeSketch {
|
||||
//System.out.println("found package " + entry);
|
||||
File libFolder = (File) PdeSketchbook.importToLibraryTable.get(entry);
|
||||
//System.out.println(" found lib folder " + libFolder);
|
||||
importedLibraries.add(libFolder);
|
||||
if (libFolder == null) {
|
||||
throw new PdeException("Could not find library for " + entry);
|
||||
//return null;
|
||||
}
|
||||
|
||||
importedLibraries.add(libFolder);
|
||||
libraryPath += File.pathSeparator + libFolder.getAbsolutePath();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user