diff options
author | Veetaha <[email protected]> | 2020-07-07 10:09:37 +0100 |
---|---|---|
committer | Veetaha <[email protected]> | 2020-07-07 10:09:37 +0100 |
commit | fd1487db51dcbd3296e00e3e62a7e8414e1c48d9 (patch) | |
tree | 596d3a36fa798a1c45bca788b00df04b36fe3368 /editors | |
parent | d4bc2f25de6297c75f7b7f029df224b650ef3143 (diff) |
Consider EPERM error as other vscode processes using rust-analyzer
Diffstat (limited to 'editors')
-rw-r--r-- | editors/code/src/main.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/main.ts b/editors/code/src/main.ts index 5877be8b2..4b990afa1 100644 --- a/editors/code/src/main.ts +++ b/editors/code/src/main.ts | |||
@@ -54,7 +54,7 @@ async function tryActivate(context: vscode.ExtensionContext) { | |||
54 | const serverPath = await bootstrap(config, state).catch(err => { | 54 | const serverPath = await bootstrap(config, state).catch(err => { |
55 | let message = "bootstrap error. "; | 55 | let message = "bootstrap error. "; |
56 | 56 | ||
57 | if (err.code === "EBUSY" || err.code === "ETXTBSY") { | 57 | if (err.code === "EBUSY" || err.code === "ETXTBSY" || err.code === "EPERM") { |
58 | message += "Other vscode windows might be using rust-analyzer, "; | 58 | message += "Other vscode windows might be using rust-analyzer, "; |
59 | message += "you should close them and reload this window to retry. "; | 59 | message += "you should close them and reload this window to retry. "; |
60 | } | 60 | } |