This commit is contained in:
Joao Moreno
2017-07-07 12:22:17 +02:00
parent 1e89bd3c31
commit dbbc064c13

View File

@@ -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> {