Updates from BitShares FC #22

Closed
nathanielhourt wants to merge 693 commits from dapp-support into latest-fc
Showing only changes of commit 18206552fc - Show all commits

View file

@ -14,12 +14,6 @@
# endif
#endif
#ifdef WIN32
# include <signal.h>
#else
# include <csignal>
#endif
namespace fc { namespace rpc {
static std::vector<std::string>& cli_commands()
@ -109,15 +103,15 @@ void cli::run()
}
else
std::cout << itr->second( result, args ) << "\n";
if (result.is_integer() && result.as_int64() == SIGQUIT)
{
break;
}
}
catch ( const fc::exception& e )
{
std::cout << e.to_detail_string() << "\n";
if (e.code() == fc::canceled_exception_code)
{
break;
}
}
}
}