fix(smallstrip,exceptions): missing return causing nil de-reference

This commit is contained in:
Guz
2025-03-05 12:21:50 -03:00
parent a2452dd239
commit 883118156a

View File

@@ -61,6 +61,7 @@ func (e Exception) ServeHTTP(w http.ResponseWriter, r *http.Request) {
handler, ok := r.Context().Value(handlerFuncCtxKey).(HandlerFunc)
if !ok {
e.handler(e, w, r)
return
}
handler(e, w, r)