-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
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
error.code() and error handling #57
Comments
Hi. The error code depends on the code that is returned by the server. Can you share some of your server code here? |
} |
Hi. This is already tested in the test cases:
I cannot suggest any meaningful solution for this unless I have a failing test full code which does not behave correctly. |
Hi, I'm having the same issue. However, I only started encountering the issue once I swapped the traefik reverse proxy that handled grpc-web translation with the I'm guessing this is an issue with |
Yes @cyanic-selkie |
I opened an issue on the |
Closing this issue |
I have the same issue when I use tonic gprc server behind the nginx proxy |
I can't get the error code from the backend, making error handling difficult on the client
I always get code = "Unknow error" when I try to get the error code from the backend
#[wasm_bindgen]
pub async fn refresh_token(refresh: String) -> Result<JsValue, JsValue> {
let mut client = AuthenticationClient::new(build_client());
let result = client
.refresh_token_admin(RefreshRequest {
refresh_token: refresh,
})
.await;
}
The text was updated successfully, but these errors were encountered: