diff --git a/runtime/main.cpp b/runtime/main.cpp index 65409ce..4ad457b 100644 --- a/runtime/main.cpp +++ b/runtime/main.cpp @@ -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"; + } }