log rpc.listen() result
This commit is contained in:
parent
cf84770d90
commit
105a4eed8b
@ -55,5 +55,9 @@ int main(int argc, char** argv)
|
|||||||
auto action = sliger::rpc::action::action_from_json(std::move(req));
|
auto action = sliger::rpc::action::action_from_json(std::move(req));
|
||||||
action->perform_action(std::move(writer), state);
|
action->perform_action(std::move(writer), state);
|
||||||
});
|
});
|
||||||
rpc.listen();
|
|
||||||
|
auto res = rpc.listen();
|
||||||
|
if (!res.is_ok()) {
|
||||||
|
std::cout << res.err().msg << "\n";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user