Skip to content

Commit

Permalink
🐛 Fix logging on Wake process crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
michprev committed Oct 8, 2024
1 parent 06a01d8 commit 257328b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 257328b

Please sign in to comment.