change up the error message for the settings folder

This commit is contained in:
Ben Fry
2018-07-19 18:27:19 -04:00
parent f14200e6fe
commit 4edd8f95f0
2 changed files with 5 additions and 3 deletions

View File

@@ -1888,8 +1888,10 @@ public class Base {
}
}
} catch (Exception e) {
Messages.showError("Problem getting the settings folder",
"Error getting the Processing the settings folder.", e);
Messages.showTrace("An rare and unknowable thing happened",
"Could not get the settings folder. Please report:\n" +
"http://github.com/processing/processing/issues/new",
e, true);
}
return settingsFolder;
}

View File

@@ -156,7 +156,7 @@ public class Messages {
* Testing a new warning window that includes the stack trace.
*/
static public void showTrace(String title, String message,
Throwable t, boolean fatal) {
Throwable t, boolean fatal) {
if (title == null) title = fatal ? "Error" : "Warning";
if (Base.isCommandLine()) {