std::cerr<<"Unable to connect to keosd, if keosd is running please kill the process and try again.\n";
throwconnection_exception(fc::log_messages{FC_LOG_MESSAGE(error,"Unable to connect to keosd")});
}
}else{
std::cerr<<"No wallet service listening on 127.0.0.1: "<<std::to_string(wallet_port)<<". Cannot automatically start keosd because keosd was not found."<<std::endl;