aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_cargo_watch
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_cargo_watch')
-rw-r--r--crates/ra_cargo_watch/src/lib.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/crates/ra_cargo_watch/src/lib.rs b/crates/ra_cargo_watch/src/lib.rs
index e015692fa..ea7ddc86b 100644
--- a/crates/ra_cargo_watch/src/lib.rs
+++ b/crates/ra_cargo_watch/src/lib.rs
@@ -363,7 +363,7 @@ impl WatchThread {
363 let line = match line { 363 let line = match line {
364 Ok(line) => line, 364 Ok(line) => line,
365 Err(err) => { 365 Err(err) => {
366 log::error!("Couldn't read line from cargo: {:?}", err); 366 log::error!("Couldn't read line from cargo: {}", err);
367 continue; 367 continue;
368 } 368 }
369 }; 369 };
@@ -372,7 +372,11 @@ impl WatchThread {
372 let message = match message { 372 let message = match message {
373 Ok(message) => message, 373 Ok(message) => message,
374 Err(err) => { 374 Err(err) => {
375 log::error!("Invalid json from cargo check, ignoring ({}): {} ", err, line); 375 log::error!(
376 "Invalid json from cargo check, ignoring ({}): {:?} ",
377 err,
378 line
379 );
376 continue; 380 continue;
377 } 381 }
378 }; 382 };