GRPH-46-AddQuitCommandToCliWallet - Add Quit command to CLI Wallet
This commit is contained in:
parent
1f76279f63
commit
4beb698268
1 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue