reverting throw exception instead of raising SIGINT in order not to terminate cli_test early
This commit is contained in:
parent
8174558041
commit
ec41a06300
1 changed files with 5 additions and 0 deletions
|
|
@ -107,6 +107,11 @@ void cli::run()
|
||||||
catch ( const fc::exception& e )
|
catch ( const fc::exception& e )
|
||||||
{
|
{
|
||||||
std::cout << e.to_detail_string() << "\n";
|
std::cout << e.to_detail_string() << "\n";
|
||||||
|
|
||||||
|
if (e.code() == fc::canceled_exception_code)
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue