GRPH-46-AddQuitCommandToCliWallet - Add Quit command to CLI Wallet

This commit is contained in:
satyakoneru 2019-08-19 16:51:50 +00:00 committed by gladcow
parent 1f76279f63
commit 4beb698268

View file

@ -121,6 +121,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;
}
} }
} }
} }