Filter outdated_version errors from logging (#1649)
Merging this as master is currently spammed with this error.
This commit is contained in:
parent
5dfe580972
commit
135e5d692e
1 changed files with 1 additions and 1 deletions
|
@ -674,7 +674,7 @@ void nano::network::receive_action (nano::udp_data * data_a)
|
|||
break;
|
||||
}
|
||||
|
||||
if (node.config.logging.network_logging ())
|
||||
if (node.config.logging.network_logging () && parser.status != nano::message_parser::parse_status::outdated_version)
|
||||
{
|
||||
BOOST_LOG (node.log) << "Could not parse message. Error: " << parser.status_string ();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue