From 5a11c2a87292dec3c3dd228c1a60bd8329b6ad7a Mon Sep 17 00:00:00 2001 From: "Gustavo \"Guz\" L de Mello" Date: Wed, 5 Mar 2025 12:21:50 -0300 Subject: [PATCH] fix(smallstrip,exceptions): missing return causing nil de-reference --- exceptions/exceptions.go | 1 + 1 file changed, 1 insertion(+) diff --git a/exceptions/exceptions.go b/exceptions/exceptions.go index 897e63d..24d8de4 100644 --- a/exceptions/exceptions.go +++ b/exceptions/exceptions.go @@ -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)