Skip to content

Commit

Permalink
Fixes #1548: Extra true in the output log when a language server disc…
Browse files Browse the repository at this point in the history
…onnects (#1549)
  • Loading branch information
dbaeumer authored Aug 30, 2024
1 parent 14ddabf commit ebfc4ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/common/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1811,7 +1811,7 @@ export abstract class BaseLanguageClient implements FeatureClient<Middleware, La
this._onStop = Promise.resolve();
this._onStart = undefined;
} else if (handlerResult.action === CloseAction.Restart) {
this.info(handlerResult.message ?? 'Connection to server got closed. Server will restart.', !handlerResult.handled);
this.info(handlerResult.message ?? 'Connection to server got closed. Server will restart.', undefined, !handlerResult.handled);
this.cleanUp(ShutdownMode.Restart);
this.$state = ClientState.Initial;
this._onStop = Promise.resolve();
Expand Down

0 comments on commit ebfc4ed

Please sign in to comment.