We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, a 500 status code is returned no matter the cause of the error. The API should respond with an appropriate HTTP status code for the error.
An example mapping of gRPC errors -> HTTP status: https://github.com/GoogleCloudPlatform/google-cloud-node/blob/525fb0fc1a7ad064b75050bfc03455508cf0dba5/packages/common/src/grpc-service.js#L50-L135
An example of gRPC response handler: https://github.com/GoogleCloudPlatform/google-cloud-node/blob/525fb0fc1a7ad064b75050bfc03455508cf0dba5/packages/common/src/grpc-service.js#L564
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently, a 500 status code is returned no matter the cause of the error. The API should respond with an appropriate HTTP status code for the error.
An example mapping of gRPC errors -> HTTP status:
https://github.com/GoogleCloudPlatform/google-cloud-node/blob/525fb0fc1a7ad064b75050bfc03455508cf0dba5/packages/common/src/grpc-service.js#L50-L135
An example of gRPC response handler:
https://github.com/GoogleCloudPlatform/google-cloud-node/blob/525fb0fc1a7ad064b75050bfc03455508cf0dba5/packages/common/src/grpc-service.js#L564
The text was updated successfully, but these errors were encountered: