File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
bundles/com.espressif.idf.core/src/com/espressif/idf/core/bug Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -101,10 +101,10 @@ private File getEimLogPath()
101101 switch (Platform .getOS ())
102102 {
103103 case Platform .OS_WIN32 :
104- eimPath = System .getenv ("APPDATA " ); //$NON-NLS-1$
104+ eimPath = System .getenv ("LOCALAPPDATA " ); //$NON-NLS-1$
105105 if (!StringUtil .isEmpty (eimPath ))
106106 {
107- eimPath = eimPath + "\\ Local \\ eim\\ logs" ; //$NON-NLS-1$
107+ eimPath = eimPath + "\\ eim\\ logs" ; //$NON-NLS-1$
108108 }
109109 break ;
110110 case Platform .OS_MACOSX :
@@ -290,7 +290,10 @@ public String generateBugReport()
290290 File eimLogPath = getEimLogPath ();
291291 Logger .log ("EIM log path: " + eimLogPath .getAbsolutePath ()); //$NON-NLS-1$
292292 File eimLogDir = new File (bugReportDirectory .getAbsolutePath () + File .separator + "eim_logs" ); //$NON-NLS-1$ )
293- FileUtil .copyDirectory (eimLogPath , eimLogDir );
293+ IStatus status = FileUtil .copyDirectory (eimLogPath , eimLogDir );
294+ Logger .log ("EIM log copy status-code: " + status .getCode ()); //$NON-NLS-1$
295+ Logger .log ("EIM log copy status-message: " + status .getMessage ()); //$NON-NLS-1$
296+
294297
295298 // Zip the bug report directory
296299 FileUtil .zipDirectory (bugReportDirectory , bugReportDirectory .getAbsolutePath () + ".zip" ); //$NON-NLS-1$
You can’t perform that action at this time.
0 commit comments