Log flycheck errors
This commit is contained in:
parent
7a8374c162
commit
f7a66fd94c
@ -306,10 +306,11 @@ impl FlycheckActor {
|
|||||||
let formatted_handle = format!("{:?}", command_handle);
|
let formatted_handle = format!("{:?}", command_handle);
|
||||||
|
|
||||||
let res = command_handle.join();
|
let res = command_handle.join();
|
||||||
if res.is_err() {
|
if let Err(error) = &res {
|
||||||
tracing::error!(
|
tracing::error!(
|
||||||
"Flycheck failed to run the following command: {}",
|
"Flycheck failed to run the following command: {}, error={}",
|
||||||
formatted_handle
|
formatted_handle,
|
||||||
|
error
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
self.report_progress(Progress::DidFinish(res));
|
self.report_progress(Progress::DidFinish(res));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user