mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:28:12 +00:00
LibIPC: Make IPC::Connection::post_message() return ErrorOr
This commit is contained in:
parent
982ac34437
commit
8d76eb773f
4 changed files with 30 additions and 23 deletions
|
@ -553,7 +553,8 @@ public:
|
|||
auto result = m_connection.template send_sync_but_allow_failure<Messages::@endpoint.name@::@message.pascal_name@>()~~~");
|
||||
} else {
|
||||
message_generator.append(R"~~~(
|
||||
m_connection.post_message(Messages::@endpoint.name@::@message.pascal_name@ { )~~~");
|
||||
// FIXME: Handle post_message failures.
|
||||
(void) m_connection.post_message(Messages::@endpoint.name@::@message.pascal_name@ { )~~~");
|
||||
}
|
||||
|
||||
for (size_t i = 0; i < parameters.size(); ++i) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue