Fixing logging messages.

This commit is contained in:
clemahieu 2016-04-01 10:41:01 -05:00
commit 5ddd94f8c9

View file

@ -1703,13 +1703,13 @@ void success (boost::iterator_range <char const *> const & range, std::string co
}
else
{
BOOST_LOG (node->log) << boost::str (boost::format ("Work response from %1% wasn't a number") % address % work_text);
BOOST_LOG (node->log) << boost::str (boost::format ("Work response from %1% wasn't a number %2%") % address % work_text);
handle_failure (last);
}
}
catch (...)
{
BOOST_LOG (node->log) << boost::str (boost::format ("Work response from %1% wasn't parsable") % address % body);
BOOST_LOG (node->log) << boost::str (boost::format ("Work response from %1% wasn't parsable %2%") % address % body);
handle_failure (last);
}
}