sapling/eden
Liubov Dmitrieva 7a7e8c0d57 skip logging of bad requests for health checks
Summary:
skip logging as "bad" requests for health checks

health checks are currently implemented like simple connections to the port:

```
def _test_service_is_running(ui):
    port = ui.configint("commitcloud", "scm_daemon_tcp_port")
    s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    if s.connect_ex(("127.0.0.1", port)):
        _warn_service_not_running(ui)
    s.close()
```

so, skipping errors coming from json parsing for those type of checks

todo: implement a proper health_check request which can be part of migration to
json rpc

Reviewed By: quark-zju

Differential Revision: D43693235

fbshipit-source-id: 689cd3368c665fefd61a86d1125dc8d2aba1354d
2023-03-02 00:11:20 -08:00
..
fs fsck don't bring back removed files in full directories 2023-03-01 18:02:51 -08:00
integration fsck don't bring back removed files in full directories 2023-03-01 18:02:51 -08:00
locale
mononoke Update to chrono-0.4.23 2023-03-01 05:04:16 -08:00
scm skip logging of bad requests for health checks 2023-03-02 00:11:20 -08:00
test_support upgrade pyre version in fbcode/eden - batch 1 2023-02-01 20:39:41 -08:00
test-data test-data: remove snapshot 20190313 2022-02-04 13:50:48 -08:00
testlib upgrade pyre version in fbcode/eden - batch 1 2023-02-01 20:39:41 -08:00
.clang-tidy clang-tidy: disable facebook-hte-ContextDependentStaticInit 2022-11-04 15:33:50 -07:00
.gitignore
.mononoke_test_file test push 2022-01-06 05:57:35 -08:00
Eden.project.toml