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 57ee4c6 commit a933bb2Copy full SHA for a933bb2
app/src/processing/app/Base.java
@@ -1370,7 +1370,12 @@ public Editor handleScheme(String schemeUri) {
1370
if (location.length() > 0) {
1371
// if it leads with a slash, then it's a file url
1372
if (location.charAt(0) == '/') {
1373
- handleOpen(location); // it's a full path to a file
+ File file = new File(location);
1374
+ if (file.exists()) {
1375
+ handleOpen(location); // it's a full path to a file
1376
+ } else {
1377
+ System.err.println(file + " does not exist.");
1378
+ }
1379
} else {
1380
// turn it into an https url
1381
final String url = "https://" + location;
0 commit comments