-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: Expose error details as synthesized gRPC trailers in REGAPIC
Unit tests will be in a later commit. Currently tested via making a deliberately-failing call to the Translation API. BREAKING CHANGE: previous error messages containing large amounts of JSON will be replaced with simpler ones, with the detail available via the RpcException extension methods. This could break anyone using REGAPIC (currently just Compute) and trying to find the error details in the message. (This change will only be in a new major version anyway, but we should include this in the change log.)
- Loading branch information
Showing
2 changed files
with
58 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters