MCPcopy
hub / github.com/gin-gonic/gin / defaultHandleRecovery

Function defaultHandleRecovery

recovery.go:109–111  ·  view source on GitHub ↗
(c *Context, _ any)

Source from the content-addressed store, hash-verified

107}
108
109func defaultHandleRecovery(c *Context, _ any) {
110 c.AbortWithStatus(http.StatusInternalServerError)
111}
112
113// stack returns a nicely formatted stack frame, skipping skip frames.
114func stack(skip int) []byte {

Callers

nothing calls this directly

Calls 1

AbortWithStatusMethod · 0.80

Tested by

no test coverage detected