Skip to content

Commit

Permalink
fix: change error msg to output to stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
dekobon committed Dec 16, 2021
1 parent e9e7407 commit 546b981
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ impl LogLevel {
match numeric_string.parse::<u16>() {
Ok(code) => Ok(LogLevel::OTHER(code)),
Err(_) => {
// Maybe there is a whitespace issue?
println!("Attempting to parse numeric string: {}", level);
eprintln!("Attempting to parse numeric string: {}", level);
Err(LogLevelParseError::from(level))
}
}
Expand Down

0 comments on commit 546b981

Please sign in to comment.