Been too long since i did anything, can't remember what the hell is in all this....
This commit is contained in:
@@ -13,7 +13,6 @@ func Recover(next http.Handler) http.Handler {
|
||||
if rec := recover(); rec != nil {
|
||||
log.Printf("🔥 Recovered from panic: %v\n%s", rec, debug.Stack())
|
||||
|
||||
// ✅ Call your custom template-based fallback
|
||||
helpers.RenderError(w, r, http.StatusInternalServerError)
|
||||
}
|
||||
}()
|
||||
|
||||
Reference in New Issue
Block a user