mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-28 18:43:01 +00:00
Merge pull request #19294 from alibektas/better_build_script_err_msgs
minor: Show build scripts errors in server status
This commit is contained in:
commit
3a02514725
1 changed files with 1 additions and 0 deletions
|
|
@ -142,6 +142,7 @@ impl GlobalState {
|
||||||
if self.fetch_build_data_error().is_err() {
|
if self.fetch_build_data_error().is_err() {
|
||||||
status.health |= lsp_ext::Health::Warning;
|
status.health |= lsp_ext::Health::Warning;
|
||||||
message.push_str("Failed to run build scripts of some packages.\n\n");
|
message.push_str("Failed to run build scripts of some packages.\n\n");
|
||||||
|
message.push_str("Please refer to the logs for more details on the errors.");
|
||||||
}
|
}
|
||||||
if let Some(err) = &self.config_errors {
|
if let Some(err) = &self.config_errors {
|
||||||
status.health |= lsp_ext::Health::Warning;
|
status.health |= lsp_ext::Health::Warning;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue