fix inaccurate error message for exec()

This commit is contained in:
Ben Fry
2018-04-05 10:43:14 -04:00
parent 38aa67f0a8
commit beedf4d2b3

View File

@@ -3492,7 +3492,7 @@ public class PApplet implements PConstants {
try {
return Runtime.getRuntime().exec(args);
} catch (Exception e) {
throw new RuntimeException("Could not open " + join(args, ' '), e);
throw new RuntimeException("Exception while attempting " + join(args, ' '), e);
}
}