I am using Apache Arrow library version 8.0.0, and whenever an error occurs, I receive verbose error messages containing gRPC client debug context and additional details. Here’s an example of the error message I get:
{Error Message}. gRPC client debug context: UNKNOWN:{Error message }{grpc_status:{status number}, created_time:{created time} }. Client context: IOError: {Error message} . Detail: Internal
On the client side, I only want to log or display the primary error message:
{Error Message}
I would like to remove the gRPC client debug context and other unnecessary details while retaining the core error message for clarity.
Is there a way to suppress the gRPC debug context or customize the error message directly from the code?
I've tried to retrieve the Error message using some internal methods, which didn't work.