Skip to content

v0.12.301 — Failed requests show up in `clawrouter logs` and `doctor` again

Latest

Choose a tag to compare

@VickyXAI VickyXAI released this 26 Oct 01:37
261b893

Failed requests show up in clawrouter logs and doctor again

The proxy logs every failed request with status: "error", but the stats reader
rebuilt each log entry without that field. So clawrouter logs marked every
request OK, and clawrouter doctor always reported 0 errors (it was hardcoded).
The reader now keeps status, getStats() returns an errorCount, and doctor
reports it. Thanks @Tyagiquamar (#512).