fixup! fixup! fixup! fixup! Weekend fun with further optimisations.

This commit is contained in:
2025-09-14 23:47:16 +01:00
parent f411273fa2
commit cc6d6693e0
93 changed files with 10178 additions and 37059 deletions
+2
View File
@@ -574,6 +574,8 @@ func newNoOpLogger() *Logger {
//
// handleError writes an HTTP error response with the specified status code and message.
// It logs the error and sets appropriate headers before writing the response.
//
//lint:ignore U1000 Kept for potential future error handling
func handleError(w http.ResponseWriter, message string, code int, logger *Logger) {
logger.Error(message)
http.Error(w, message, code)