Include message in rpc status error from ruby

This commit is contained in:
sophia 2022-09-08 13:02:49 -04:00
parent 6d4f769c87
commit add66c4c2a

View File

@ -62,7 +62,8 @@ module VagrantPlugins
)
proto = Google::Rpc::Status.new(
code: GRPC::Core::StatusCodes::UNKNOWN,
details: [localized_msg_details_any]
details: [localized_msg_details_any],
message: message,
)
metadata[GRPC_DETAILS_METADATA_KEY] = Google::Rpc::Status.encode(proto)
end