Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Commit 8869407

Browse files
authored
fix: use atom.notifications.addError
1 parent a48863a commit 8869407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ class RustLanguageClient extends AutoLanguageClient {
459459
let options = fs.readFileSync(rlsConfigPath)
460460
Object.assign(params.initializationOptions, JSON.parse(options))
461461
} catch(e) {
462-
console.error("Error reading config file\n", e)
462+
atom.notifications.addError("Error reading rust-analyzer config file\n", e)
463463
}
464464
}
465465

0 commit comments

Comments
 (0)