You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this.logger.log(`Saving query server logs to user-specified directory: ${this.config.customLogDirectory}.`);
101
99
storagePath=this.config.customLogDirectory;
102
100
isCustomLogDirectory=true;
103
101
}catch(e){
104
-
helpers.showAndLogErrorMessage(`${this.config.customLogDirectory} is not a valid directory. Logs will be stored in a temporary workspace directory instead.`);
102
+
if(e.code==='EEXIST'){
103
+
this.logger.log(`Saving query server logs to user-specified directory: ${this.config.customLogDirectory}.`);
104
+
storagePath=this.config.customLogDirectory;
105
+
isCustomLogDirectory=true;
106
+
}else{
107
+
helpers.showAndLogErrorMessage(`${this.config.customLogDirectory} is not a valid directory. Logs will be stored in a temporary workspace directory instead.`);
0 commit comments