gohttpserver/internal/server/handlepanic.go
Jeffrey Paul 61228b4586
Some checks failed
continuous-integration/drone/push Build is failing
embed static files now (#14)
Co-authored-by: sneak <sneak@sneak.berlin>
Reviewed-on: #14
2022-11-28 00:19:47 +00:00

15 lines
291 B
Go

package server
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")
}
}