FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Removed unnecessary error message · charneykaye/processing@f397415 · GitHub

Repository navigation

Commit f397415

Browse files
committed
Removed unnecessary error message
1 parent 7780150 commit f397415

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

‎java/src/processing/mode/java/pdex/ErrorCheckerService.java‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -844,11 +844,10 @@ protected void prepareCompilerClasspath() {
844844
codeFolderChecked = true;
845845
// huh? doesn't this mean .length() == 0? [fry]
846846
if (codeFolderClassPath.equalsIgnoreCase("")) {
847-
System.err.format("Cannot find \"%s\" library. Line %d in tab %s%n",
848-
entry, impstat.getLineNumber(),
849-
editor.getSketch().getCode(impstat.getTab()).getPrettyName());
850-
System.err.println("Make sure that the library is installed properly.");
851-
847+
String message = String.format("Cannot find \"%s\" library in code folder. Line %d in tab %s%n",
848+
entry, impstat.getLineNumber(),
849+
editor.getSketch().getCode(impstat.getTab()).getPrettyName());
850+
Messages.log(message);
852851
} else {
853852
String codeFolderPath[] =
854853
PApplet.split(codeFolderClassPath.substring(1).trim(),

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL