diff --git a/extensions/typescript/src/typescriptServiceClient.ts b/extensions/typescript/src/typescriptServiceClient.ts index 78252498fc77501be452aea229555aa4c29dbfbf..2bbef406fa678ed9fb16404233cf91e7541100be 100644 --- a/extensions/typescript/src/typescriptServiceClient.ts +++ b/extensions/typescript/src/typescriptServiceClient.ts @@ -597,9 +597,14 @@ export default class TypeScriptServiceClient implements ITypescriptServiceClient this.serviceExited(false); }); childProcess.on('exit', (code: any) => { - this.error(`TSServer exited with code: ${code === null || typeof code === 'undefined' ? 'unknown' : code}`); + if (code === null || typeof code === 'undefined') { + this.info(`TSServer exited`); + } else { + this.error(`TSServer exited with code: ${code}`); + } + if (this.tsServerLogFile) { - this.error(`TSServer log file: ${this.tsServerLogFile}`); + this.info(`TSServer log file: ${this.tsServerLogFile}`); } this.serviceExited(true); });