Skip to content

Commit

Permalink
Merge pull request #19294 from alibektas/better_build_script_err_msgs
Browse files Browse the repository at this point in the history
minor: Show build scripts errors in server status
  • Loading branch information
Veykril authored Mar 10, 2025
2 parents f81fcab + 93b1e78 commit 3a02514
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/rust-analyzer/src/reload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ impl GlobalState {
if self.fetch_build_data_error().is_err() {
status.health |= lsp_ext::Health::Warning;
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 {
status.health |= lsp_ext::Health::Warning;
Expand Down

0 comments on commit 3a02514

Please sign in to comment.