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.