Files
gohttpserver/internal/handlers/panic.go
T
sneak 49709ad3d2
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
latest
2023-01-28 19:05:02 -08:00

15 lines
295 B
Go

package handlers
import (
"net/http"
)
// CHANGEME you probably want to remove this,
// this is just a handler/route that throws a panic to test
// sentry events.
func (s *Handlers) HandlePanic() http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
panic("y tho")
}
}