MCPcopy Create free account
hub / github.com/buggregator/server / handleExceptionsList

Function handleExceptionsList

modules/sentry/api_exceptions.go:11–22  ·  view source on GitHub ↗
(db *sql.DB)

Source from the content-addressed store, hash-verified

9)
10
11func handleExceptionsList(db *sql.DB) http.HandlerFunc {
12 return func(w http.ResponseWriter, r *http.Request) {
13 q := r.URL.Query()
14 grouped := q.Get("grouped") == "true"
15
16 if grouped {
17 handleExceptionsGrouped(db, w, r)
18 } else {
19 handleExceptionsChronological(db, w, r)
20 }
21 }
22}
23
24func handleExceptionsGrouped(db *sql.DB, w http.ResponseWriter, r *http.Request) {
25 limit, offset := pagination(r, 50)

Callers 1

registerAPIFunction · 0.85

Calls 3

handleExceptionsGroupedFunction · 0.85
GetMethod · 0.45

Tested by

no test coverage detected