fix cores: don't use promise in websocket when failure, use FC_CAPTURE_AND_LOG... #25

Merged
pavel.baykov merged 4 commits from bug/issue330 into latest-fc 2022-04-05 22:46:49 +00:00
2 changed files with 6 additions and 6 deletions
Showing only changes of commit 67847583ea - Show all commits

View file

@ -47,9 +47,9 @@ BOOST_AUTO_TEST_CASE(real128_test)
BOOST_CHECK_EQUAL( real128(uint64_t(-1)).to_uint64(), uint64_t(-1) );
wdump( (ten)(two)(twenty) );
wdump((real128("12345.6789")) );
wdump( (ten/3*3) );
//wdump( (ten)(two)(twenty) );
//wdump((real128("12345.6789")) );
//wdump( (ten/3*3) );
}
BOOST_AUTO_TEST_SUITE_END()

View file

@ -51,12 +51,12 @@ BOOST_AUTO_TEST_CASE( nested_objects_test )
auto create_nested_object = []( uint32_t level )
{
ilog( "Creating nested object with ${lv} level(s)", ("lv",level) );
//ilog( "Creating nested object with ${lv} level(s)", ("lv",level) );
fc::test::item nested;
for( uint32_t i = 1; i <= level; i++ )
{
if( i % 100 == 0 )
ilog( "Creating level ${lv}", ("lv",i) );
//if( i % 100 == 0 )
// ilog( "Creating level ${lv}", ("lv",i) );
fc::test::item_wrapper wp( std::move(nested) );
nested = fc::test::item( std::move(wp), i );
}