Skip to content
Snippets Groups Projects
Commit ee96ce3a authored by Alexander Polcyn's avatar Alexander Polcyn
Browse files

change status in failed credential handler to unauth as intended

parent 9d36eb5c
No related branches found
No related tags found
No related merge requests found
......@@ -93,7 +93,7 @@ static VALUE grpc_rb_call_credentials_callback_rescue(VALUE args,
StringValueCStr(backtrace));
rb_hash_aset(result, rb_str_new2("metadata"), Qnil);
rb_hash_aset(result, rb_str_new2("status"),
INT2NUM(GRPC_STATUS_UNAVAILABLE));
INT2NUM(GRPC_STATUS_UNAUTHENTICATED));
rb_hash_aset(result, rb_str_new2("details"),
rb_exception_info);
return result;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment