log rpc.listen() result

This commit is contained in:
Theis Pieter Hollebeek 2024-12-12 10:44:27 +01:00
parent cf84770d90
commit 105a4eed8b

View File

@ -55,5 +55,9 @@ int main(int argc, char** argv)
auto action = sliger::rpc::action::action_from_json(std::move(req));
action->perform_action(std::move(writer), state);
});
rpc.listen();
auto res = rpc.listen();
if (!res.is_ok()) {
std::cout << res.err().msg << "\n";
}
}