mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Change error output to make a bit more sense
This commit is contained in:
parent
8ffbe86dfd
commit
4ec5f6e258
1 changed files with 6 additions and 2 deletions
|
@ -363,7 +363,7 @@ impl WatchThread {
|
|||
let line = match line {
|
||||
Ok(line) => line,
|
||||
Err(err) => {
|
||||
log::error!("Couldn't read line from cargo: {:?}", err);
|
||||
log::error!("Couldn't read line from cargo: {}", err);
|
||||
continue;
|
||||
}
|
||||
};
|
||||
|
@ -372,7 +372,11 @@ impl WatchThread {
|
|||
let message = match message {
|
||||
Ok(message) => message,
|
||||
Err(err) => {
|
||||
log::error!("Invalid json from cargo check, ignoring ({}): {} ", err, line);
|
||||
log::error!(
|
||||
"Invalid json from cargo check, ignoring ({}): {:?} ",
|
||||
err,
|
||||
line
|
||||
);
|
||||
continue;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue