kotharishreyb2 opened a new issue, #422:
URL: https://github.com/apache/pulsar-client-node/issues/422

   Hello Team
   
   Here I am trying to serialize and deserialize messageId for my business use 
case
   
   but issue is for proper error handling if in case we pass invalid buffer 
data to MessageId.deserialize method then it throws C++ exception 
   `libc++abi: terminating due to uncaught exception of type 
std::invalid_argument: Failed to parse serialized message id`
   which is not handled by pulsar-client and node JS crashes
   
   I see similar issue was there while creating a client too but that got fixed 
with this issue and PR 
https://github.com/apache/pulsar-client-node/pull/307/files 
   where it was wrapped with try catch block
   but deserialize method is still not fixed


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to