File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments