Skip to content

Commit 09bee25

Browse files
authored
Merge pull request #20911 from chenyukang/yukang-fix-never-panic
Use tracing error when received compiler message for unknown package
2 parents 51236f7 + 76f9b4e commit 09bee25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/project-model/src/build_dependencies.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ impl WorkspaceBuildScripts {
142142
if let Some(&(package, workspace)) = by_id.get(package) {
143143
cb(&workspaces[workspace][package].name, &mut res[workspace].outputs[package]);
144144
} else {
145-
never!("Received compiler message for unknown package: {}", package);
145+
tracing::error!("Received compiler message for unknown package: {}", package);
146146
}
147147
},
148148
progress,

0 commit comments

Comments
 (0)