mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
Log flycheck errors
This commit is contained in:
parent
7a8374c162
commit
f7a66fd94c
1 changed files with 5 additions and 4 deletions
|
@ -306,10 +306,11 @@ impl FlycheckActor {
|
|||
let formatted_handle = format!("{:?}", command_handle);
|
||||
|
||||
let res = command_handle.join();
|
||||
if res.is_err() {
|
||||
if let Err(error) = &res {
|
||||
tracing::error!(
|
||||
"Flycheck failed to run the following command: {}",
|
||||
formatted_handle
|
||||
"Flycheck failed to run the following command: {}, error={}",
|
||||
formatted_handle,
|
||||
error
|
||||
);
|
||||
}
|
||||
self.report_progress(Progress::DidFinish(res));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue