Merge pull request #19294 from alibektas/better_build_script_err_msgs

minor: Show build scripts errors in server status
This commit is contained in:
Lukas Wirth 2025-03-10 11:35:07 +00:00 committed by GitHub
commit 3a02514725
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;