MCPcopy Create free account
hub / github.com/boltrunner/gcli2api / withRecover

Method withRecover

internal/server/middleware.go:43–54  ·  view source on GitHub ↗

withRecover adds a panic recovery layer to prevent leaking stack traces and to ensure a clean 500 response is sent to the client.

(next http.Handler)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

RouterMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected