Skip to content

Commit

Permalink
Update yellow log to warning
Browse files Browse the repository at this point in the history
  • Loading branch information
MexicanAce committed Sep 15, 2023
1 parent c637672 commit aa90f9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ impl<S: std::fmt::Debug + ForkSource> InMemoryNodeInner<S> {
fn not_implemented<T: Send + 'static>(
method_name: &str,
) -> jsonrpc_core::BoxFuture<Result<T, jsonrpc_core::Error>> {
log::info!("{}", format!("Method {} is not implemented", method_name).yellow());
log::warn!("Method {} is not implemented", method_name);
Err(jsonrpc_core::Error {
data: None,
code: jsonrpc_core::ErrorCode::MethodNotFound,
Expand Down

0 comments on commit aa90f9d

Please sign in to comment.