Add a 'open server logs' button to the error notification

This commit is contained in:
Lukas Wirth 2023-01-23 13:10:25 +01:00
parent 84239a1454
commit b9fe5afb30
7 changed files with 58 additions and 12 deletions

View file

@ -187,6 +187,11 @@ export class Ctx {
this.setServerStatus(params)
)
);
this.pushClientCleanup(
this._client.onNotification(ra.openServerLogs, () => {
this.outputChannel!.show();
})
);
}
return this._client;
}