Skip to content

Commit

Permalink
Fix gRPC error handling for mirror-gateway handler (#2665)
Browse files Browse the repository at this point in the history
* fix: use FromError function when stream rpc error occurs

Signed-off-by: hlts2 <[email protected]>

* fix: delete ParseError of Register RPC error handling

Signed-off-by: hlts2 <[email protected]>

* fix: crud rpc error handling

Signed-off-by: hlts2 <[email protected]>

* fix: add code comment and refactor multi crud error handling

Signed-off-by: hlts2 <[email protected]>

* fix: deleted unnecessary error resource info

Signed-off-by: hlts2 <[email protected]>

* fix: typo

Signed-off-by: hlts2 <[email protected]>

* fix: status code when the parse is failed

Signed-off-by: hlts2 <[email protected]>

* fix: ignore parse success variable

Signed-off-by: hlts2 <[email protected]>

* fix: use FromError function for stream error

Signed-off-by: hlts2 <[email protected]>

* fix: error status handling

Signed-off-by: hlts2 <[email protected]>

* fix: typo

Signed-off-by: hlts2 <[email protected]>

---------

Signed-off-by: hlts2 <[email protected]>
Co-authored-by: Kosuke Morimoto <[email protected]>
  • Loading branch information
hlts2 and kmrmt committed Oct 8, 2024
1 parent 4dc9354 commit 2a1b476
Show file tree
Hide file tree
Showing 2 changed files with 272 additions and 258 deletions.
Loading

0 comments on commit 2a1b476

Please sign in to comment.