Skip to content

Commit d8b3846

Browse files
Fix issue with rejected promise not propagating on OmniSharp launch failure
1 parent 94a31ea commit d8b3846

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/omnisharp/launcher.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,8 @@ export function launchOmniSharp(cwd: string, args: string[]): Promise<LaunchResu
197197
setTimeout(function () {
198198
resolve(result);
199199
}, 0);
200-
});
200+
})
201+
.catch(reason => reject(reason));
201202
});
202203
}
203204

0 commit comments

Comments
 (0)