Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com> Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com> Co-authored-by: Michel Hidalgo <michel@ekumenlabs.com>
This commit is contained in:
parent
440b191ae6
commit
6d6b78f28d
2 changed files with 33 additions and 2 deletions
|
@ -1445,6 +1445,9 @@ extern "C" rmw_ret_t rmw_deserialize(
|
|||
} catch (rmw_cyclonedds_cpp::Exception & e) {
|
||||
RMW_SET_ERROR_MSG_WITH_FORMAT_STRING("rmw_serialize: %s", e.what());
|
||||
ok = false;
|
||||
} catch (std::runtime_error & e) {
|
||||
RMW_SET_ERROR_MSG_WITH_FORMAT_STRING("rmw_serialize: %s", e.what());
|
||||
ok = false;
|
||||
}
|
||||
|
||||
return ok ? RMW_RET_OK : RMW_RET_ERROR;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue