fix: print error: messages and their contents from cargo (#3336)

This commit is contained in:
Jonathan Kelley authored and GitHub committed 2024-12-10 21:50:24 -08:00
1 parent 49caa2b113
commit 94a499c900
3 files changed
+25 -12

No files matched your search

+4
View File
@@ -41,6 +41,10 @@ impl BuildRequest {
.unbounded_send(BuildUpdate::CompilerMessage { message });
}
pub(crate) fn status_build_error(&self, line: String) {
tracing::error!(dx_src = ?TraceSrc::Cargo, "{line}");
}
pub(crate) fn status_build_message(&self, line: String) {
tracing::trace!(dx_src = ?TraceSrc::Cargo, "{line}");
}