Use error code 500 for "Requested data is inaccessible" errors.
GitOrigin-RevId: 2d39f90cd196f508b288089433ba2f066b5fcb22
This commit is contained in:
parent
7b4afb7673
commit
5fc7a7727e
@ -51,7 +51,7 @@ class RequestActor : public Actor {
|
||||
CHECK(future.get_state() == FutureActor<T>::State::Waiting);
|
||||
if (--tries_left_ == 0) {
|
||||
future.close();
|
||||
do_send_error(Status::Error(400, "Requested data is inaccessible"));
|
||||
do_send_error(Status::Error(500, "Requested data is inaccessible"));
|
||||
return stop();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user