Skip to content

Commit ba1b702

Browse files
committed
lets get it build
1 parent 42ef9a8 commit ba1b702

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/EspExceptionDecoder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ private String getBuildFolderPath(Sketch s) {
130130
catch (IOException er) {
131131
editor.statusError(er);
132132
}
133-
catch (NoSuchMethodError er) {
133+
catch (Exception er) {
134134
try {
135135
File buildFolder = FileUtils.createTempFolder("build", DigestUtils.md5Hex(s.getMainFilePath()) + ".tmp");
136136
//DeleteFilesOnShutdown.add(buildFolder);
@@ -139,7 +139,7 @@ private String getBuildFolderPath(Sketch s) {
139139
catch (IOException e) {
140140
editor.statusError(e);
141141
}
142-
catch (NoSuchMethodError e) {
142+
catch (Exception e) {
143143
// Arduino 1.6.5 doesn't have FileUtils.createTempFolder
144144
// String buildPath = BaseNoGui.getBuildFolder().getAbsolutePath();
145145
java.lang.reflect.Method method;

0 commit comments

Comments
 (0)