gohttpserver/httpserver/handlepanic.go
sneak 9b839e9b97
All checks were successful
continuous-integration/drone/push Build is passing
fixes broken build. i'll go protect master now oops
2020-09-30 22:25:33 -07:00

15 lines
295 B
Go

package httpserver
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 *server) handlePanic() http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
panic("y tho")
}
}