We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42ef9a8 commit ba1b702Copy full SHA for ba1b702
1 file changed
src/EspExceptionDecoder.java
@@ -130,7 +130,7 @@ private String getBuildFolderPath(Sketch s) {
130
catch (IOException er) {
131
editor.statusError(er);
132
}
133
- catch (NoSuchMethodError er) {
+ catch (Exception er) {
134
try {
135
File buildFolder = FileUtils.createTempFolder("build", DigestUtils.md5Hex(s.getMainFilePath()) + ".tmp");
136
//DeleteFilesOnShutdown.add(buildFolder);
@@ -139,7 +139,7 @@ private String getBuildFolderPath(Sketch s) {
139
catch (IOException e) {
140
editor.statusError(e);
141
142
- catch (NoSuchMethodError e) {
+ catch (Exception e) {
143
// Arduino 1.6.5 doesn't have FileUtils.createTempFolder
144
// String buildPath = BaseNoGui.getBuildFolder().getAbsolutePath();
145
java.lang.reflect.Method method;
0 commit comments