mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 09:39:19 +01:00
fixed a small bug in the reporting of errors in PdeRuntime
This commit is contained in:
@@ -400,7 +400,8 @@ java.lang.NullPointerException
|
||||
// " at javatest.<init>(javatest.java:5)"
|
||||
// -> "javatest.<init>(javatest.java:5)"
|
||||
int afterAt = s.indexOf("at") + 3;
|
||||
if (afterAt == -1) {
|
||||
//if (afterAt == -1) {
|
||||
if (afterAt == 2) { // means indexOf was -1
|
||||
System.err.println(s);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user