2022-11-28 00:19:47 +00:00
|
|
|
package server
|
2020-10-01 04:59:20 +00:00
|
|
|
|
|
|
|
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")
|
|
|
|
}
|
|
|
|
}
|