This is an automated email from the ASF dual-hosted git repository.
LinkinStars pushed a change to branch dev
in repository https://gitbox.apache.org/repos/asf/answer.git
from e884bb61 fix: avoid topic fallback for non-Latin titles via pragmatic
ASCII transliteration (#1526)
new cece87f9 feat: add recovery middleware to handle panic gracefully
new 682811f7 fix: scope JSON 500 to API routes, skip rewriting
already-flushed responses
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../base/middleware/{mcp_auth.go => recovery.go} | 47 +++++---
internal/base/middleware/recovery_test.go | 120 +++++++++++++++++++++
internal/base/server/http.go | 4 +
3 files changed, 155 insertions(+), 16 deletions(-)
copy internal/base/middleware/{mcp_auth.go => recovery.go} (55%)
create mode 100644 internal/base/middleware/recovery_test.go