diff --git a/src/extension.ts b/src/extension.ts index 4b84aa2..bb17e45 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -200,7 +200,7 @@ export async function activate(context: vscode.ExtensionContext) { throw error; } }); - wakeProcess.on('exit', () => { + wakeProcess.on('close', () => { analytics.logCrash(EventType.ERROR_WAKE_CRASH, new Error(crashlog.join('\n'))); printCrashlog(outputChannel); outputChannel.show(true);