Skip to content

Commit 0046a33

Browse files
committed
Fix fall error logging for setLevel
Switch case should not fall through here since we do handle the change properly Fixes microsoft#69990
1 parent 5c191f3 commit 0046a33

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/platform/log/node/logIpc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export class LogLevelSetterChannel implements IServerChannel {
2525

2626
call(_, command: string, arg?: any): Promise<any> {
2727
switch (command) {
28-
case 'setLevel': this.service.setLevel(arg);
28+
case 'setLevel': this.service.setLevel(arg); return Promise.resolve();
2929
}
3030

3131
throw new Error(`Call not found: ${command}`);

0 commit comments

Comments
 (0)