Skip to content

Conversation

@Lunderberg
Copy link
Contributor

Prior to this PR, a local RPC server could crash without any indication in the main process. While typically this crash would cause an error in the main process due to the lack of a RPCCode::kReturn from the server, the delayed error can complicate debugging.

This PR updates the local RPC server to raise an exception if the server process returns with a non-zero exit code.

Prior to this PR, a local RPC server could crash without any
indication in the main process.  While typically this crash would
cause an error in the main process due to the lack of a
`RPCCode::kReturn` from the server, the delayed error can complicate
debugging.

This PR updates the local RPC server to raise an exception if the
server process returns with a non-zero exit code.
@Lunderberg Lunderberg merged commit a4f20f0 into apache:main Jun 18, 2024
@Lunderberg Lunderberg deleted the rpc_raise_error_from_local_server branch June 18, 2024 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants