Skip to content

Commit

Permalink
LOGBROKER-8953: change 400 to 503 status for Unavailable in http_proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
siarheivesialou committed Feb 21, 2024
1 parent 8d2cc65 commit 09c5eb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ydb/core/http_proxy/http_req.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ namespace NKikimr::NHttpProxy {
case NYdb::EStatus::ABORTED:
return TException("Aborted", HTTP_BAD_REQUEST);
case NYdb::EStatus::UNAVAILABLE:
return TException("Unavailable", HTTP_BAD_REQUEST);
return TException("Unavailable", HTTP_SERVICE_UNAVAILABLE);
case NYdb::EStatus::TIMEOUT:
return TException("RequestExpired", HTTP_BAD_REQUEST);
case NYdb::EStatus::BAD_SESSION:
Expand Down

0 comments on commit 09c5eb0

Please sign in to comment.