mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-23 11:49:38 +00:00
fixes #30214
This commit is contained in:
@@ -42,7 +42,10 @@ export class Askpass implements Disposable {
|
|||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
this.server = http.createServer((req, res) => this.onRequest(req, res));
|
this.server = http.createServer((req, res) => this.onRequest(req, res));
|
||||||
this.ipcHandlePathPromise = this.setup().catch(err => console.error(err));
|
this.ipcHandlePathPromise = this.setup().catch(err => {
|
||||||
|
console.error(err);
|
||||||
|
return '';
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private async setup(): Promise<string> {
|
private async setup(): Promise<string> {
|
||||||
|
|||||||
Reference in New Issue
Block a user