MCPcopy Create free account
hub / github.com/PostHog/duckgres / recordRecentError

Method recordRecentError

server/recent_errors.go:84–88  ·  view source on GitHub ↗

recordRecentError adds a redacted error to the server's ring (nil-safe).

(e RecentError)

Source from the content-addressed store, hash-verified

82
83// recordRecentError adds a redacted error to the server's ring (nil-safe).
84func (s *Server) recordRecentError(e RecentError) {
85 if s != nil {
86 s.recentErrors.add(e)
87 }
88}
89
90// RecentErrors returns up to limit of this server's most recent redacted query
91// errors, newest first. Used by the control-plane admin Errors page (fanned out

Callers 2

logQueryErrorMethod · 0.80

Calls 1

addMethod · 0.80

Tested by 1