Skip to content

Commit 4174a76

Browse files
Merge pull request #897 from haochuan/monitor-error
use debug! instead of error! in monitor.rs
2 parents 5808b6f + 1a027ed commit 4174a76

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/volta-core/src/monitor.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use std::io::Write;
22
use std::process::{Child, Stdio};
33

4-
use log::error;
4+
use log::debug;
55

66
use crate::command::create_command;
77
use crate::event::Event;
@@ -32,7 +32,7 @@ impl Monitor {
3232
}
3333
Err(error) => {
3434
// FIXME: tighten up this error message
35-
error!("There was a problem serializing the JSON data: {:?}", error);
35+
debug!("There was a problem serializing the JSON data: {:?}", error);
3636
}
3737
};
3838
}
@@ -52,7 +52,7 @@ fn spawn_process(command: &str) -> Option<Child> {
5252

5353
match child.spawn() {
5454
Err(err) => {
55-
error!("Unable to run plugin command: '{}'\n{}", command, err);
55+
debug!("Unable to run plugin command: '{}'\n{}", command, err);
5656
None
5757
}
5858
Ok(c) => Some(c),

0 commit comments

Comments
 (0)